[Koha-bugs] [Bug 35087] Discount rate does not accept comma as decimal separator

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 15 11:31:07 CET 2024


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

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #31 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
             number: _("Please add amount in valid format: 0.00"),
+            decimal_rate: $.validator.addMethod("decimal_rate",
$.validator.methods.number, "Please add rate in valid format: 0.00"),

Confusing

+                <input class="rate" type="text" size="6" id="discount"
name="discount" value="[% discount | format ('%.1f') %]" />%</li>

.1f linked to 0.00 ?

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


More information about the Koha-bugs mailing list