Bug 27409: Update members/boraccount.tt for ACC2

This patch changes all instances of type="number" in inputs to adhere
with the ACC2 guidelines

In addition, all "min" and "step" attributes have been removed from
these inputs (Thanks Owen).

Test plan:
Go through the boraccount.tt file and insure that no instances of
type="number" were missed.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
James O'Keeffe 2021-01-20 01:52:03 +00:00 committed by Jonathan Druart
parent 53e0f7424c
commit 7b8a2805f5
1 changed files with 3 additions and 3 deletions

View File

@ -174,7 +174,7 @@
</li>
<li>
<label class="required" for="amount">Returned to patron: </label>
<input type="number" step="0.01" id="amount" name="amount" min="0.00" required="required">
<input type="text" inputmode="numeric" pattern="[0-9]*" id="amount" name="amount" required="required">
<span class="required">Required</span>
</li>
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
@ -243,7 +243,7 @@
</li>
<li>
<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>
</li>
[% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
@ -305,7 +305,7 @@
</li>
<li>
<label class="required" for="amount">Discount to apply: </label>
<input type="number" step="0.01" id="discount" name="amount" min="0.00" required="required">
<input type="text" inputmode="numeric" pattern="[0-9]*" id="discount" name="amount" required="required">
<span class="required">Required</span>
</li>
</ol>