Bugzilla – Attachment 117741 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: (follow up) Updates to accommodate currency entry
Bug-27405-follow-up-Updates-to-accommodate-currenc.patch (text/plain), 1.69 KB, created by
Katrin Fischer
on 2021-03-04 15:57:56 UTC
(
hide
)
Description:
Bug 27405: (follow up) Updates to accommodate currency entry
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-03-04 15:57:56 UTC
Size:
1.69 KB
patch
obsolete
>From 606ccf68253814fa34fd5c033445b51a5832d82a Mon Sep 17 00:00:00 2001 >From: David Nind <david@davidnind.com> >Date: Sat, 20 Feb 2021 23:06:01 +0000 >Subject: [PATCH] Bug 27405: (follow up) Updates to accommodate currency entry > >This patch makes two modifications to allow the entry of >currency strings (for example, 1.25) so that it is consistent with other >payment entry forms. > >- Inputmode changed to "decimal" >- Regex pattern changed to "^\d+(\.\d{2})?$" as found in > admin/debit_types.tt > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 1ffdb9db77..ebee5bd376 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="text" inputmode="numeric" pattern="[0-9]*" id="returned" name="amount" required="required"> >+ <input type="text" inputmode="decimal" pattern="^\d+(\.\d{2})?$" 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