Bugzilla – Attachment 24046 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]
[SIGNED OFF] Bug 11415: Add syspref to toggle SCO receipt printing
SIGNED-OFF-Bug-11415-Add-syspref-to-toggle-SCO-rec.patch (text/plain), 1.39 KB, created by
Mark Tompsett
on 2014-01-09 05:35:55 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 11415: Add syspref to toggle SCO receipt printing
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2014-01-09 05:35:55 UTC
Size:
1.39 KB
patch
obsolete
>From 6ada219fa5dda82c17c7e58f2366cb94a8b6cc4b Mon Sep 17 00:00:00 2001 >From: JaTara Barnes <jendayi30@gmail.com> >Date: Wed, 8 Jan 2014 23:10:26 -0600 >Subject: [PATCH] [SIGNED OFF] Bug 11415: Add syspref to toggle SCO receipt > printing > >Added code to update prog theme with same changes as the >bootstrap theme. > >Signed-off-by: Mark Tompsett <mtompset@hotmail.com> >--- > .../opac-tmpl/prog/en/modules/sco/sco-main.tt | 3 +++ > 1 file changed, 3 insertions(+) > >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 6ab8b11..c8ceef1 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 >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% USE KohaDates %] > [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha [% END %] › Self checkout </title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> >@@ -90,8 +91,10 @@ $(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 %] > } > return true; > }); >-- >1.7.9.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