[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
Wed Feb 9 18:21:59 CET 2022


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

The Minh Luong <the-minh.luong at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122184|0                           |1
        is obsolete|                            |
 Attachment #122185|0                           |1
        is obsolete|                            |
 Attachment #122186|0                           |1
        is obsolete|                            |
 Attachment #122187|0                           |1
        is obsolete|                            |

--- Comment #168 from The Minh Luong <the-minh.luong at inlibro.com> ---
Created attachment 130398
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130398&action=edit
Bug 12446: Ability to allow guarantor relationship for all patron category
types

This adds a new field "Can be guarantee" to patron categories so it
becomes possible for any category type to have a guarantor.

To test:
1) Have a patron category of type 'Adult' and one of type 'Child'
2) Confirm, by searching for the "Patron guarantor" fieldset in the
edit/create form, that:
    => a patron of the first category can't have a guarantor
    => a patron from the second category can
3) Apply patch and run updatedatabase.pl
4) Edit the categories and note the new "Can be guarantee" field
5) It should have been set to "yes" for the "Child" and to "no" for
the "Adult"
5) Repeat step 2. It should behave in the same way.
6) Edit the "Can be guarantee" for any of the category and check
that the fieldset only appears when "Can be guarantee" is set to "yes"
7) prove t/db_dependent/Patrons.t
    => tests should still pass

Signed-off-by: David Nind <david at davidnind.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

Signed-off-by: David Nind <david at davidnind.com>

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


More information about the Koha-bugs mailing list