Bug 25597: Add missing Javascript libraries to sco printslip
authorDavid Cook <dcook@prosentient.com.au>
Mon, 25 May 2020 06:25:06 +0000 (16:25 +1000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 19 Jun 2020 04:09:03 +0000 (06:09 +0200)
commit9970739c2be2dbe853dbda5717bd4ccdc2d07072
treebfbb48bab7708775b08e981d8d7ce09d0532f572
parentc9d82a01bf1a79f88afaf66eb44d77f09a0afb8d
Bug 25597: Add missing Javascript libraries to sco printslip

This patch adds missing Javascript libraries to the self-checkout
print slip. These missing libraries were preventing the auto print
prompt and close. There was also a font error.

To Test:
0) Apply patch
1) Turn on system preference SelfCheckReceiptPrompt
2) Check out item via /cgi-bin/koha/sco/sco-main.pl
3) Click "Finish"
4) Press F12 on keyboard and choose Console
5) Note no Javascript errors
6) Note that print dialog appears and closes after
a print option is chosen

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8e00a96cf17f9c429050ce2ce5e3095fe566121a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit f83d9e683f7f24126e0bba5b36ab4a55d8673de9)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

(cherry picked from commit b0c7a80c5acf76d78f07d75724c9c1afdfad935b)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt