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

            Bug ID: 37506
           Summary: Koha explodes when trying to create manual credit with
                    zero amount
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Fines and fees
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

When creating manual credit with amount equal zero Koha explodes with a
message: "Exception 'Koha::Exceptions::Account::AmountNotPositive' thrown
'Debit amount passed is not positive' at
/usr/share/perl5/Exception/Class/Base.pm line 88".

To reproduce:
1. Go to the patron -> Accounting -> Create manual credit.
2. Enter 0 in amount field. Click 'Add credit' button.
3. Koha explodes.

-- 
You are receiving this mail because:
You are the assignee for the bug.
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