Bugzilla – Attachment 117195 Details for
Bug 27405
Update intranet-tmpl/prog/en/modules/pos/register.tt for ACC2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27405: Update koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt for ACC2
Bug-27405-Update-koha-tmplintranet-tmplprogenmodul.patch (text/plain), 2.33 KB, created by
Owen Leonard
on 2021-02-23 11:51:15 UTC
(
hide
)
Description:
Bug 27405: Update koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt for ACC2
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-02-23 11:51:15 UTC
Size:
2.33 KB
patch
obsolete
>From d1c832d3763d6eaf8678fd19c94368d8b735c48b Mon Sep 17 00:00:00 2001 >From: Catherine Ma <catherinem2003@gmail.com> >Date: Wed, 20 Jan 2021 00:56:59 +0000 >Subject: [PATCH] Bug 27405: Update > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt for ACC2 > >This replaces the number type input in >intranet-tmpl/prog/en/modules/pos/register.tt 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/register.tt for > input type="number" - there should be no occurences. >10. Sign off! > >Sponsored by Catalyst IT > >Signed-off-by: David Nind <david@davidnind.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index 5569539969..1ffdb9db77 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -273,7 +273,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 = [] %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27405
:
115378
|
115463
|
117119
|
117120
|
117195
|
117196
|
117740
|
117741