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

--- Comment #10 from Marcel de Rooy <[email protected]> ---
[4] Test by putting negative amount in fee on patron category
=> add_debit should throw an exception..
Seems that I cannot save that value with category on the list view. 
value="[% category.article_request_fee | $Price on_editing => 1 %]"
Koha::Number::Price->new( $value )->format_for_editing
$VAR1 = '-10.00';
But -10 is saved in the DATABASE ! Not shown in STAFF (list view shows only a
minus; detail form does show -10)
So, yes adding a request now crashes: Debit amount passed is not positive at
/usr/share/perl5/Exception/Class/Base.pm line 88
Conclusion: The categories form should enforce the amount to be zero or
POSITIVE.

-- 
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