]> git.koha-community.org Git - koha.git/commit
Bug 30979: Add checkout modal to the OPAC
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 15 Aug 2022 11:19:31 +0000 (12:19 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 15:14:42 +0000 (12:14 -0300)
commit709255fdfa0182e9928447c1b64af52ff31c5ca6
treeb4b01947a089ab2a7b14fd4ffe5b6550df0b3873
parentbc55051e494efa5fd62f825e6d863dbdaddd30e8
Bug 30979: Add checkout modal to the OPAC

This patch adds a new self checkout modal to the OPAC when
OpacTrustedCheckout is enabled and a user is logged in.

The new modal allows an end user to scan an item barcode to checkout.
We check for item existance and availability and then check the item
out after any confirmations have been displayed.

Signed-off-by: Silvia Meakins <smeakins@eso.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/checkout.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js [new file with mode: 0644]