[Koha-bugs] [Bug 27405] Update intranet-tmpl/prog/en/modules/pos/register.tt for ACC2

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Feb 21 00:07:40 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27405

--- Comment #4 from David Nind <david at davidnind.com> ---
Created attachment 117120
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=117120&action=edit
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

To test, apply the patch and test entry of various strings in the manual
invoice "amount" field. Confirm that the field only accepts digits or
digits followed by a decimal and two digits.

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list