]> git.koha-community.org Git - koha.git/commit
Bug 30045: (bug 29543 follow-up) Fix SCO print slip
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 8 Feb 2022 11:12:22 +0000 (12:12 +0100)
committerWainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
Tue, 22 Feb 2022 18:02:32 +0000 (18:02 +0000)
commitff80b5bc65298e5ce4be48ef9e1c4fa0f518e43e
treebdcc9ccf5b7e3c10b4dd93949729976c81bf8507
parent35ab9a4a3289737f69972c877779a4b997f1cfff
Bug 30045: (bug 29543 follow-up) Fix SCO print slip

Certainly since bug 29543 and bug 29914.

We should do the same authentication check than sco-main.pl, and also
make sure to generate the checkout history only for the logged in patron
(the OPAC one, not staff member)

Test plan:
Use the different combinations of the SCO config (AutoSelfCheckAllowed,
SelfCheckoutByLogin and WebBasedSelfCheck) and confirm that this patch
fixes the SCO print slip feature.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 72fa33490b71d91658c32493c687b1c5a37dc1df)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 26cbc70d1981a1ee3d1c658a0b96fb504d65e177)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
(cherry picked from commit 9416f10fa5f41be46aa794fa112027b37d59267f)

Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
opac/sco/printslip.pl