Bugzilla – Attachment 24038 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]
Implements syspref for SCO receipt -- added code to prog
0004-Bug-11415-Add-syspref-to-toggle-SCO-receipt-printing.patch (text/plain), 1.29 KB, created by
JaTara Barnes
on 2014-01-09 05:12:30 UTC
(
hide
)
Description:
Implements syspref for SCO receipt -- added code to prog
Filename:
MIME Type:
Creator:
JaTara Barnes
Created:
2014-01-09 05:12:30 UTC
Size:
1.29 KB
patch
obsolete
>From 5379328f40588acc21fa16a51b398d52ff2885be Mon Sep 17 00:00:00 2001 >From: JaTara Barnes <jendayi30@gmail.com> >Date: Wed, 8 Jan 2014 23:10:26 -0600 >Subject: [PATCH 4/4] Bug 11415: Add syspref to toggle SCO receipt printing > >Added code to update prog >--- > koha-tmpl/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.8.5.2.msysgit.0 >
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