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

            Bug ID: 37507
           Summary: Koha explodes when trying to apply discount higher
                    than amount of manual invoice
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Fines and fees
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

When applying discount higher than amount of manual invoice Koha explodes with
a message: "Exception 'Koha::Exceptions::ParameterTooHigh' thrown 'Amount to
reduce (100) is higher than original amount (10.000000)' at
/usr/share/perl5/Exception/Class/Base.pm line 88".

To reproduce:
1. Go to the patron -> accounting
2. Create manual invoice with positive amount (e.g. 10). Click Save.
3. In Transactions tab click 'Apply discount' button and enter discount to
apply higher than amount entered in p. 2 (e.g. 100).
4. 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