Bug 30979: Always show self-checkout when preference enabled
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 17 Jan 2023 14:14:36 +0000 (14:14 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 15:14:43 +0000 (12:14 -0300)
commitd77006331b3691310e8c7643cb6eb240783abc8c
treeea5457f6de543343e2884912fb6de8123de69f3c
parent709255fdfa0182e9928447c1b64af52ff31c5ca6
Bug 30979: Always show self-checkout when preference enabled

This patch updates the display logic such that if the truested
self-checkout option is enabled we always show the checkout button and
prompt a login when no user is found.

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/opac-bottom.inc
koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js