Bug 30080 - OPACFineNoRenewalsIncludeCredits does not seem to work as indicated
Summary: OPACFineNoRenewalsIncludeCredits does not seem to work as indicated
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-11 12:17 UTC by Kelly McElligott
Modified: 2022-02-11 12:17 UTC (History)
3 users (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 Kelly McElligott 2022-02-11 12:17:12 UTC
This system preference: OPACFineNoRenewalsIncludeCredits has two options, Include/Don't Include. 

According to the manual, this preference controls whether the OPACFineNoRenewals function uses the account balance or account amount outstanding (which excludes any credits) to make the calculation. 


Test Plan.
1. Set OPACNOFineNoRenewals to $5
2. Have a patron with a Credit on their account of $20 but also have this patron have fines of $7, therefore the patron should have a $13 credit.
3.Set the system preference OPACFineNoRenewalsIncludeCredits to Include.
4. Attempt to renew an item from the OPAC. 

Koha says, the patron owes $7 and can't renew- Koha is not taking into account this system preference- as the patron should be able to renew because they have a credit.