[Koha-cvs] koha/barcodes label-print-select-pdf.pl [dev_week]

Mason James szrj1m at yahoo.com
Fri Oct 19 09:43:19 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Mason James <sushi>	07/10/19 07:43:18

Modified files:
	barcodes       : label-print-select-pdf.pl 

Log message:
	adding zebra 2844

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/barcodes/label-print-select-pdf.pl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.4&r2=1.1.2.5

Patches:
Index: label-print-select-pdf.pl
===================================================================
RCS file: /sources/koha/koha/barcodes/Attic/label-print-select-pdf.pl,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -b -r1.1.2.4 -r1.1.2.5
--- label-print-select-pdf.pl	28 Aug 2007 23:18:01 -0000	1.1.2.4
+++ label-print-select-pdf.pl	19 Oct 2007 07:43:18 -0000	1.1.2.5
@@ -10,6 +10,8 @@
 use C4::Context;
 use HTML::Template;
 
+use Smart::Comments;
+
 # get the printing settings
 #my $conf_data = get_label_options();
 my $cgi = new CGI;
@@ -23,6 +25,13 @@
     print $cgi->redirect(
         "/cgi-bin/koha/barcodes/label-print-pdf-demco-142-1685c.pl?batch_id=$batch_id");
 }
+
+elsif ( $template->{'tmpl_code'} eq 'ZEBRA_2844' ) {
+#### ZEB
+    print $cgi->redirect(
+        "/cgi-bin/koha/barcodes/label-print-pdf-zebra-2844.pl?batch_id=$batch_id");
+}
+
 else {
     print $cgi->redirect("/cgi-bin/koha/barcodes/label-print-pdf.pl?batch_id=$batch_id");
 }





More information about the Koha-cvs mailing list