https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39511 Bug ID: 39511 Summary: Error 500 when applying discount of 0 Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com I was testing something else and did not enter a discount amount, which resulted in an error 500. I think it should result in a warning or error message to tell the staff member that they forgot to enter a value in the discount input. To recreate: 1. Go to a patron account > Accounting 2. Click 'Create manual invoice' 3. Enter an amount 4. Click 'Save' 5. Click 'Apply discount' 6. Click 'Confirm' --> Error 500 It should say something like "Please enter a discount amount". -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.