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

--- Comment #115 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 193128
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=193128&action=edit
Bug 40445: Add optional required reconciliation note validation

This patch adds the ability to require reconciliation notes when
completing cashup with discrepancies between expected and actual amounts.

A new system preference `CashupReconciliationNoteRequired`` controls
whether notes are mandatory when surplus or deficit exists.

Test plan:
1. Enable CashupReconciliationNoteRequired system preference
2. Perform cashup with discrepancy without note - should fail
3. Perform cashup with discrepancy with note - should succeed
4. Perform cashup without discrepancy and no note - should succeed
5. Disable preference - cashup with discrepancy should work without note
6. Run tests: prove t/db_dependent/Koha/Cash/Register.t

Sponsored-by: OpenFifth <https://openfifth.co.uk/>
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