Bugzilla – Attachment 24132 Details for
Bug 11415
SCO has no option to disable automatic receipt printing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11415 [QA Followup] - Add syspref to toggle SCO receipt printing
Bug-11415-QA-Followup---Add-syspref-to-toggle-SCO-.patch (text/plain), 2.42 KB, created by
Kyle M Hall (khall)
on 2014-01-10 14:23:05 UTC
(
hide
)
Description:
Bug 11415 [QA Followup] - Add syspref to toggle SCO receipt printing
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-01-10 14:23:05 UTC
Size:
2.42 KB
patch
obsolete
>From 0c53534051cdd26f1f0ed6d78b81b52ac4aa4609 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 10 Jan 2014 09:15:25 -0500 >Subject: [PATCH] Bug 11415 [QA Followup] - Add syspref to toggle SCO receipt printing > >--- > .../opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 10 +++++----- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 10 +++++----- > 2 files changed, 10 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index b98ba61..f903631 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -357,12 +357,12 @@ > > $("#logout_form").submit(function(){ > clearTimeout(mainTimeout); >- [% IF Koha.Preference('SelfCheckReceiptPrompt') %] >- if(confirm("Would you like to print a receipt?")){ >- window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); >- [% END %] >+ [% IF Koha.Preference('SelfCheckReceiptPrompt') %] >+ if(confirm("Would you like to print a receipt?")){ >+ window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); >+ } >+ [% END %] > >- } > return true; > }); > }); >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >index 2fbdefb..45eb4a7 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >@@ -91,11 +91,11 @@ $(document).ready(function() { > })); > $("#logout_form").submit(function(){ > clearTimeout(mainTimeout); >- [% IF Koha.Preference('SelfCheckReceiptPrompt') %] >- if(confirm("Would you like to print a receipt?")){ >- window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); >- [%END %] >- } >+ [% IF Koha.Preference('SelfCheckReceiptPrompt') %] >+ if( confirm("Would you like to print a receipt?") ) { >+ window.open("/cgi-bin/koha/sco/printslip.pl?borrowernumber=[% borrowernumber %]&print=qslip"); >+ } >+ [% END %] > return true; > }); > }); >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11415
:
23904
|
24028
|
24037
|
24038
|
24039
|
24040
|
24041
|
24042
|
24043
|
24044
|
24045
|
24046
|
24130
|
24131
| 24132