From 8ebf76cf18c85757ebfcccdad32986b2b1d0f612 Mon Sep 17 00:00:00 2001
From: Kyle M Hall <kyle@bywatersolutions.com>
Date: Wed, 14 Aug 2013 14:36:37 -0400
Subject: [PATCH] Bug 10731 - IntranetSlipPrinterJS is not working for hold slips [3.10.x]
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
---
circ/hold-transfer-slip.pl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/circ/hold-transfer-slip.pl b/circ/hold-transfer-slip.pl
index 8ae5d2a..8349e93 100755
--- a/circ/hold-transfer-slip.pl
+++ b/circ/hold-transfer-slip.pl
@@ -65,6 +65,7 @@ $template->param(
plain => !$is_html,
title => "Koha -- Circulation: Transfers",
stylesheet => C4::Context->preference("SlipCSS"),
+ IntranetSlipPrinterJS => C4::Context->preference("IntranetSlipPrinterJS"),
);
output_html_with_http_headers $input, $cookie, $template->output;
--
1.7.2.5