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

--- Comment #128 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193141
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193141&action=edit
Bug 40445: (follow-up) Set amountoutstanding for CASHUP_SURPLUS and
CASHUP_DEFICIT accountlines

CASHUP_SURPLUS and CASHUP_DEFICIT accountlines represent immediate
reconciliation adjustments that should be considered settled at the
time of creation. These records should have amountoutstanding set to 0
to indicate they are fully reconciled.

This patch adds amountoutstanding => 0 when creating both types of
reconciliation accountlines and updates the tests to verify this
behavior.

Test plan:
1. prove t/db_dependent/Koha/Cash/Register.t
2. Verify all tests pass, specifically the new tests for amountoutstanding

Signed-off-by: Jackie Usher <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to