[Koha-bugs] [Bug 12446] Enable an adult to have a guarantor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 26 15:38:58 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12446

--- Comment #1 from simith.doliveira at inlibro.com ---
Created attachment 29278
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29278&action=edit
Bug 12446 - Enable an adult to have a guarantor

This fix fulfil all needs :

- Enable an adult to have a guarantor;
- Shows guarantees' fines in the guarantor's page;
- Transfer some guarantor's information to the guarantee while creating a new
patron or adding a guarantiee;
- Transfer guarantor's alternate address/contact to the guarantee while
creating a new patron or adding a guarantiee.

Modified:

installer/data/mysql/sysprefs.sql                                       -
AdditionalGuarantorField preference
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc            -
Change button label "Add child" to "Add guarantiee"
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref  -
AdditionalGuarantorField preference
koha-tmpl/intranet-tmpl/prog/en/modules/members/guarantor_search.tt     - Add
guarantor information in add/modify Adultes page
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt       - Add
guarantor information in add/modify Adultes page
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt           - Add
guarantees' fines in the guarantor's page.
members/guarantor_search.pl
members/memberentry.pl
members/moremember.pl                                                   - fine
calculation



Testing:

I Apply the patch
II Run updatedatabase.pl to add AdditionalGuarantorField to preference.

- Enable an adult to have a guarantor:
0) Select an adult patron -> details tab;
1) Validade "Add guarantiee" button;
2) Click edit button;
3) validate "guarantor information" fieldset;

- Shows guarantees' fines in the guarantor's page:
4) Click Set to patron button and select a guarantor;
5) Generate a fine;
6) Select guarantor patron -> details tab;
7) Validate guarantee's fine information.

- Transfer some guarantor's information to the guarantee while adding a
guarantiee:
0) Select an adult patron;
1) Insert all information;
2) Click Add guarantiee bouton;
3) Validade Garantor information/Main address/Contact fieldsets filled;

- Transfer some guarantor's information to the guarantee while creating a new
patron
0) Select an adult patron;
1) Insert all information;
2) Add a new adult patron;
3) Click "Set to patron" button;
4) Select the adult patron from 0);
5) Validade Garantor information/Main address/Contact fieldsets filled;

- Transfer some guarantor's information to the guarantee while adding a
guarantiee:
0) Select an adult patron;
1) Insert all information;
2) Click Add guarantiee bouton;
3) Validade Garantor information/Main address/Contact fieldsets filled;

- Transfer guarantor's alternate address/contact to the guarantee while
creating a new patron:
0) Search AdditionalGuarantorField preference;
1) Insert some additional database columns from alternate address/contact to be
transferred from guarantor;
2) Select an adult patron;
3) Insert all information;
4) Add a new adult patron;
5) Click "Set to patron" button;
6) Select the adult patron from 0);
7) Validade Garantor information/Main address/Contact fieldsets filled;
8) Validade Garantor additional alternate address/contact filled;

- Transfer guarantor's alternate address/contact to the guarantee while adding
a guarantiee:
0) Search AdditionalGuarantorField preference;
1) Insert some additional database columns from alternate address/contact to be
transferred from guarantor;
3) Select an adult patron;
4) Insert all information;
5) Click Add guarantiee bouton;
6) Validade Garantor information/Main address/Contact fieldsets filled;
7) Validade Garantor additional alternate address/contact filled;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list