Browse Source

Bug 27405: Update koha-tmpl/intranet-tmpl/prog/en/modules/pos/ for ACC2

This replaces the number type input in
intranet-tmpl/prog/en/modules/pos/ so that it is
consistent with ACC2 guidelines.

Test plan:
1. Enable the EnablePointOfSale (set to Enable) and UseCashRegisters
   (set to Use) system preferences.
2. Add a new cash register for a library (Home > Point of sale > Create
   a new cash register)
3. Add some sample items for sale (Home > Point of sale > Configure
   items for purchase)
4. Add some sales (Home > Point of sale > Add some items, enter a
   payment and sleect Confirm)
5. Issue a refund (Home > Point of sale > Register details > select
   Issue refund for an item)
6. Try to enter text, numbers with several decimal places, and , or
   multiple .
7. Apply the patch.
8. Repeat steps 4-6 - should continue to function as expected, with
   appropriate warning messages for invalid entries.
9. Search koha-tmpl/intranet-tmpl/prog/en/modules/pos/ for
   input type="number" - there should be no occurences.
10. Sign off!

Sponsored by Catalyst IT

Signed-off-by: David Nind <>

Signed-off-by: Katrin Fischer <>

Signed-off-by: Jonathan Druart <>
Catherine Ma 10 months ago
committed by Jonathan Druart
  1. 2


@ -273,7 +273,7 @@
<label class="required" for="amount">Returned to patron: </label>
<input type="number" step="0.01" id="returned" name="amount" min="0.00" required="required">
<input type="text" inputmode="numeric" pattern="[0-9]*" id="returned" name="amount" required="required">
<span class="required">Required</span>
[% SET payment_types = [] %]