Bug 29129: Update DisplayClearScreenButton to allow for a choice between issueslip...
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 27 Apr 2022 17:55:26 +0000 (17:55 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sat, 25 Jun 2022 13:56:50 +0000 (10:56 -0300)
commit4a3b988d5c5f01d98e742f8949240a0d903919c2
treea7685867e4ad211634f2b81aa0e0ad0801005b4c
parent9b55a435d9a61819750c322ac284f8c9a2c236c3
Bug 29129: Update DisplayClearScreenButton to allow for a choice between issueslip and issueqslip

To Test:
1. Apply patch, updatedatabase, and restart_all
2. A small change the global scss file means you should regenerate the CSS as well. ( https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_interface )
3. Set DisplayClearScreenButton to "don't show"
4. Go to the patron checkout screen and see that no button should show to clear the screen and print
5. Set DisplayClearScreenButton to 'ISSUESLIP' and make sure the button now appears and the ISSUESLIP prints
6. Set DisplayClearScreenButton to 'ISSUEQSLIP' and make sure the button now appears and the ISSUEQSLIP prints

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/circulation.pl
installer/data/mysql/atomicupdate/bug29129.pl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/js/members-menu.js