From b82c71105e31be71b078752c897b7fa1eb1f1a20 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 23 Apr 2012 16:28:46 +0200 Subject: [PATCH] Bug 7563 [ENH] : Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference Content-Type: text/plain; charset="utf-8" Configure slip printers to print slips (silently) to a special printer using the Firefox PlugIn jsPrintSetUp. All other print actions are not affected. See http://jsprintsetup.mozdev.org/ for all the possibilities (e.g. change header/footer, get a list of printers, set printer etc.). The overall concept is to have a new staff client preference (IntranetSlipPrinterJS) where one can enter the necessary JavaScript. If the preference is empty, Koha falls back to te default behaviour. An example of JavaScript can be found on: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7563 Koha 3.8.0 bump Marc Veron modified: installer/data/mysql/updatedatabase.pl modified: kohaversion.pl modified: installer/data/mysql/sysprefs.sql modified: installer/data/mysql/updatedatabase.pl modified: koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref modified: koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt modified: members/printslip.pl --- installer/data/mysql/updatedatabase.pl | 5 +++++ kohaversion.pl | 2 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index c1e64ec..84f0437 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -5206,6 +5206,11 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.08.00.000"; +if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { + print "Upgrade to $DBversion done\n"; + SetVersion($DBversion); +} =head1 FUNCTIONS diff --git a/kohaversion.pl b/kohaversion.pl index d69aa42..8b029f8 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.07.00.049'; + our $VERSION = '3.08.00.000'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 1.7.2.5