From 44d1262e513bf340be74305595fad08946bf5772 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 4 May 2021 11:14:51 +0100 Subject: [PATCH] Bug 28283: Add `inputmode="numeric"` to quantity on orderreceive This patch adds an inputmode to the quantity field on the order receive page in acquisitions. Test plan 1. Go to Acquisitions -> Vendor -> Invoices -> Invoice -> Go to receipt page -> Receive. 2. Note that the 'Quantity received' input has an inputmode now. 3. Note that the 'Quantity received' input also has a pattern attribute. 4. Note that you should not be able to enter non-integer values. --- .../intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt index 3c89211676..f62b228052 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt @@ -309,25 +309,25 @@
  • [% IF order.subscriptionid %] - + [% ELSIF AcqCreateItem == 'receiving' %] [% ELSE %] [% IF ( order.quantityreceived ) %] [% IF ( edit ) %] - + [% ELSE %] [% IF ( order.items.count ) %] [% ELSE %] - + [% END %] [% END %] [% ELSE %] - + [% END %]