]> git.koha-community.org Git - koha.git/commit
Bug 28283: Add `inputmode="numeric"` to quantity on orderreceive
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 4 May 2021 10:14:51 +0000 (11:14 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 May 2021 13:37:42 +0000 (15:37 +0200)
commit894a0ba5cfe2c8eb0f8c06de19b99d1a44d61443
tree0be651fd2885b9a316c136ddd93cc10e26773ed7
parenta98759e3b78c1fec0ef7ddc269beccc4eace777c
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.

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/acqui/orderreceive.tt