Bugzilla – Attachment 20351 Details for
Bug 10731
IntranetSlipPrinterJS is not working for hold slips
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10731 - IntranetSlipPrinterJS is not working for hold slips
Bug-10731---IntranetSlipPrinterJS-is-not-working-f.patch (text/plain), 1.60 KB, created by
Kyle M Hall (khall)
on 2013-08-14 18:28:33 UTC
(
hide
)
Description:
Bug 10731 - IntranetSlipPrinterJS is not working for hold slips
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-08-14 18:28:33 UTC
Size:
1.60 KB
patch
obsolete
>From 3660ad431c7b07b4f32a91d37f2342cfbe9d9ebf Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Wed, 14 Aug 2013 14:25:58 -0400 >Subject: [PATCH] Bug 10731 - IntranetSlipPrinterJS is not working for hold slips > >Hold slips aren't printing automatically with JS Print Setup because it >appears the system preference IntranetSlipPrint is never being passed to >the template. > >Test Plan: >1) Set up JSPrintSetup > http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently >2) Place a hold >3) Check the item in to capture the hold >4) Click "Print and confirm" >5) Note the slip does not print automatically >6) Apply this patch >7) Repeat steps 2 through 4 >8) Observe that the slip now prints automatically >--- > .../prog/en/modules/circ/printslip.tt | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt >index 9c60023..7dc5b81 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% title %]</title> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> >@@ -8,8 +9,8 @@ > [% END %] > > <script type="text/javascript"> >-[% IF ( IntranetSlipPrinterJS ) %] >- [% IntranetSlipPrinterJS %] >+[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %] >+ [% Koha.Preference('IntranetSlipPrinterJS') %] > [% ELSE %] > function printThenClose() { > window.print(); >-- >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 10731
:
20351
|
20352
|
20353
|
20705
|
20706
|
20907
|
20908