[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
Fri Feb 3 07:45:46 CET 2023


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

Emmi Takkinen <emmi.takkinen at koha-suomi.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #143936|0                           |1
        is obsolete|                            |

--- Comment #75 from Emmi Takkinen <emmi.takkinen at koha-suomi.fi> ---
Created attachment 146057
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146057&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