[Koha-bugs] [Bug 20120] Writeoffs for individual fees allows an amount to be written off more than the amount of the fee

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 2 17:19:34 CET 2018


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

--- Comment #3 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 71152
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71152&action=edit
Bug 20120 - Writeoffs for individual fees allows an amount to be written off
more than the amount of the fee

In short, it is possible to 'over-writeoff' a fee such that the value of the
fee is now a credit.

Test Plan:
1) Attempt to writeoff a single fee, set the amount input to more than
   the amount of the fee.
2) Note the writeoff makes the fee go negative
3) Apply this patch
4) Attempt to repeat step 1, you should not be able to over-writeoff the
   fee

Signed-off-by: George Williams <george at nekls.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list