[Koha-bugs] [Bug 12133] Guarantor requirements when registering a patron

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 22 14:43:42 CEST 2019


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

Johanna Räisä <johanna.raisa at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #94538|0                           |1
        is obsolete|                            |
                 CC|                            |johanna.raisa at koha-suomi.fi

--- Comment #13 from Johanna Räisä <johanna.raisa at koha-suomi.fi> ---
Created attachment 94544
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94544&action=edit
Bug 12133: Add requirements for guarantor and guarantee

Add three requirements when registering a new patron:

- A child patron must have a guarantor. This is controlled by
  a new syspref ChildNeedsGuarantor.
- A guarantor has to be a patron. This is controlled by
  a new syspref GuarantorHasToBePatron.
- A guarantor cannot be a guarantee.

Test plan:
-Add child patron without guarantor or child patron with guarantee
as guarantor succesfully.
- Apply this patch.
- Add a child patron with a guarantee as guarantor. Error is raised.
- Turn syspref "ChildNeedsGuarantor" ON.
- Add a child patron without a guarantor and error "Child needs a
guarantor" is raised.
- Add guarantor. Guarantor can either be existing patron or added with
"Contact" section. Save without errors.
- Turn syspref "GuarantorNeedsToBePatron" ON.
- Form fields for "Contact" section aren't displayed and only existing
patron can be added as guarantor.

Signed-off-by: Johanna Raisa <johanna.raisa at gmail.com>

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


More information about the Koha-bugs mailing list