Emergency Closure ignores library setting bill.prohibit_negative_balance_default

Bug #1876988 reported by Michele Morgan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
New
Undecided
Unassigned

Bug Description

Evergreen 3.4

The Emergency Closing Handler voids overdue billings unless the library setting bill.prohibit_negative_balance_on_overdues is set to TRUE.

When a library prohibits all negative balances, the setting bill.prohibit_negative_balance_default is set to TRUE and there is no need to set the setting specific to overdues.

The Emergency Closing handler consults bill.prohibit_negative_balance_on_overdues:

https://git.evergreen-ils.org/?p=Evergreen.git;a=blob;f=Open-ILS/src/sql/Pg/096.schema.emergency_closing.sql;h=88abf35409e1e0872c81ca24d3e65be097cdca69;hb=5caa4344f460f8496589b641854634cf799a6dca#l325

using this statement:

SELECT value::BOOL INTO avoid_negative FROM actor.org_unit_ancestor_setting('bill.prohibit_negative_balance_on_overdues', circ.circ_lib);

bill.prohibit_negative_balance_default also needs to be tested when setting avoid_negative.

Tags: circ-billing
tags: added: circ-billing
removed: billing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.