Bug 37698 - Setting Manual patron restriction type to 'Lift after payment' removes all manual restrictions
Summary: Setting Manual patron restriction type to 'Lift after payment' removes all ma...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: 24.05
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-21 13:55 UTC by Sara Brown
Modified: 2024-08-21 14:05 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sara Brown 2024-08-21 13:55:23 UTC
Bug 16223 - Automatically remove any borrower debarments after a payment allows libraries to automatically remove the MANUAL-type restriction placed by Bug 15157 - Cronjob to automatically restrict patrons with pending/unpaid charges using the debar_patrons_with_fines.pl cron. However, if a patron has a Manual restriction placed by that cron and a Manual restriction placed by staff for other reasons, and they pay their balance below the amount set in 'Fee limit' for the MANUAL restriction, all Manual-type restrictions are removed.

To replicate:
-In Administration > Patron restriction types, set 'Lift after payment?' to Yes and 'Fee limit' to $9.99 for the MANUAL restriction
-Set the debar_patrons_with_fines.pl cron to place restrictions for patrons owing over $10
-Add charges of $10 or more to a patron's account
-Run the cron to place the restriction - note the MANUAL restriction now showing on the patron's account
-Place a separate MANUAL restriction on the same patron's account
-Pay their fee so that the balance is at or below $9.99
-Note that both MANUAL restrictions have been removed

Only the restriction placed by the cron should be removed if fees are paid below the amount in 'Fee limit'. (See also: Bug 37689 - Add ability to select restriction type to use with debar_patrons_with_fines.pl to allow libraries to use other restriction types.)