]> git.koha-community.org Git - koha.git/commit
Bug 27289: Template tweaks for point of sale page
authorOwen Leonard <oleonard@myacpl.org>
Mon, 21 Dec 2020 13:22:15 +0000 (13:22 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Feb 2021 13:09:35 +0000 (14:09 +0100)
commit1e1936553860dadc6aa2fa95fc3591d1ddf99352
treeb696c23d41a5e4ed727fd1c781b96ed2f2cdc097
parent4b223a64c172ae9bbc06ac090cad22a6f9e3c2a5
Bug 27289: Template tweaks for point of sale page

This patch makes a couple of minor changes to the point of sale page in
order to make it consistent with other pages in the staff interface:

- Buttons inside table cells should have the "btn-xs" class.
- Required fields should have a "required" class and should have a
  "Required" label.

Also changed: Replaced <input type="number"> according to coding
guidelines.

To test, apply the patch and enable the EnablePointOfSale and
UseCashRegisters system preferences if necessary.

- On the Point of Sale page, add some items to purchase. Confirm that
  the "Add" buttons in the "Items for purchase" table and the "Remove"
  buttons in the "This sale" table are correctly sized.

- In the "Collect payment" form, confirm that "Amount tendered" and
  "Cash register" fields are styled red with "Required" text after them.
- Confirm that the "Amount tendered" field will only accept numeric
  input.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit f27e91f1ad4a0048e360e67e6bd0c6723a981577)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt