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

            Bug ID: 41386
           Summary: Adding 0.00 as value for "Expired hold charge" in
                    circulation rules can lead to exception
                    Koha::Exceptions::Account::AmountNotPositive
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Fines and fees
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

If one adds 0.00 as "Expired hold charge" rules value in circulation rules and
charge is then tried to add to a patron via Koha::Account->add_debit, exception
Koha::Exceptions::Account::AmountNotPositive is raised. This can be really
confusing for the users since monetary values in circulation rules typically
allow using decimal values in them.

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