]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Wed, 23 Feb 2022 23:15:14 +0000 (00:15 +0100)
commit9416f10fa5f41be46aa794fa112027b37d59267f
tree49e75b513c1e314954e0afc35b82d013eae39cad
parentb2c5d03cd20c2bfc03598a01b87ff453dbc817f4
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>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt
opac/sco/printslip.pl