Bugzilla – Attachment 9306 Details for
Bug 7563
Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Bug 7563 [ENH] : Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference
Bug-7563-ENH--Silent-print-slips-using-Firefox-Plu.patch (text/plain), 2.38 KB, created by
Marc Véron
on 2012-04-25 20:43:31 UTC
(
hide
)
Description:
Bug 7563 [ENH] : Silent print slips using Firefox PlugIn jsPrintSetup and new staff client preference
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2012-04-25 20:43:31 UTC
Size:
2.38 KB
patch
obsolete
>From b82c71105e31be71b078752c897b7fa1eb1f1a20 Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >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 <veron@veron.ch> > > 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
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 Raw
Actions:
View
Attachments on
bug 7563
:
9290
|
9306
|
9307
|
9981
|
10063
|
10068
|
10071
|
10073
|
10104
|
10427
|
10428
|
10557
|
10570
|
11149