Bug 35312 - When circulation is blocked by noissuecharge, total of outstanding charges can be wrong
Summary: When circulation is blocked by noissuecharge, total of outstanding charges ca...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-10 14:41 UTC by Katrin Fischer
Modified: 2024-02-22 16:38 UTC (History)
5 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 Katrin Fischer 2023-11-10 14:41:09 UTC
When some debit types are excluded from blocking circulation (noissuecharge), the total on the checkouts page will exclude them, although they are still outstanding.

* Set systempreference noissuecharge to 5
* Add a new debit type: TEST 
  * amount: 6.00 
  * Can be manually ivoiced? Yes 
  * Include in noissuescharge? No (don't check it)
* Go to any patron account without open fines/fees
* Create a manual invoice for TEST of 6.00
* Verify fine total shows as 6 and you can still checkout
* Add another manual invoice of type Manual fee of 6.00
* Verify the table shows a total of 12.00
* Verify you can no longer checkout

On the checkouts tab you'll see a message:

Charges: Patron has outstanding charges of 6.00. Checkouts are BLOCKED because fine balance is OVER THE LIMIT

The amount is wrong. The outstanding charges are 12.00
Comment 1 Michael Adamyk 2024-02-22 16:38:23 UTC
In our system, this is occurring even if the patron isn't blocked from checkout. 

If the patron has any combination of charges that include an excluded debit type, the total on the checkouts tab only displays the non-excluded charges.