[Koha-bugs] [Bug 16223] Automatically remove any borrower debarments after a payment

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 16 08:30:32 CET 2022


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

--- Comment #68 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 143936
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143936&action=edit
Bug 16223: Add correct value attributes to restriction options in select
element

Restrictions weren't lift after payment because value
attributes for restrictions code were missing from
restriction select element in patron-restrictions-tab.inc.
Due this restrictions were always set as type "MANUAL".

To test:
1. Add new restriction which has "Lift after payment?" set
as Yes and fee limit as 5.
2. Create fees for a patron so they exceed fee limit e.g. 10
3. Add restriction made in step 1. for the patron
4. Pay patrons fees partially so that they go under fee limit
=> Note that patrons restriction should now be lifted.

Also prove t/db_dependent/Patron/Borrower_Debarments.t.

Sponsored-by: Koha-Suomi Oy

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


More information about the Koha-bugs mailing list