Missing jquery in koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/printslip.tt means that the automatic slip printing and closing isn't working anymore. Patch to come soon.
Created attachment 105320 [details] [review] 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
Created attachment 105327 [details] [review] 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>
Created attachment 105585 [details] [review] 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>
Pushed to master for 20.11, thanks to everybody involved!
The errors are gone but the problem for me now is that I get two print dialog popups when I select "Print receipt and end session". I will file a separate bug
*** Bug 25785 has been marked as a duplicate of this bug. ***
I opened bz25791 to address the double popups.
backported to 20.05.x for 20.05.01
backported to 19.11.x for 19.11.07
Backported to 19.05.x branch for 19.05.12