[Koha-bugs] [Bug 28985] Negative rental amounts can be saved but not enforced

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 10 14:18:25 CEST 2021


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 124758
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=124758&action=edit
Bug 28985: Force positive numbers for itemtype charge fields

This patch adds a min attribute to the fields on this page and adds
other cost related fields to validator

To test:
1 - Apply patch
2 - Browse to Administration->Item types
3 - Edit or create an item type
4 - Attempt to place a negative or non numeric value in:
    Daily rental charge
    Hourly rental charge
    Default replacement cost
    Processing fee
5 - You should not be able to

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list