Bug 27405: (follow up) Updates to accommodate currency entry
authorDavid Nind <david@davidnind.com>
Sat, 20 Feb 2021 23:06:01 +0000 (23:06 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 9 Mar 2021 16:20:47 +0000 (17:20 +0100)
commited582b4558304142cff802bb3e79662a9569ad2d
treed44b0e8101b121047f643ccf8d07b4cb023b2186
parent7de833b5277b4db4433f0ad879bbb31fc4591283
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>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt