[Koha-cvs] koha/C4 Labels.pm [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Mon Nov 20 12:31:38 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/11/20 11:31:38

Modified files:
	C4             : Labels.pm 

Log message:
	synch with dev_week.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Labels.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.3.6.1&r2=1.3.6.2

Patches:
Index: Labels.pm
===================================================================
RCS file: /sources/koha/koha/C4/Labels.pm,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -u -b -r1.3.6.1 -r1.3.6.2
--- Labels.pm	19 Oct 2006 16:24:09 -0000	1.3.6.1
+++ Labels.pm	20 Nov 2006 11:31:38 -0000	1.3.6.2
@@ -392,9 +392,10 @@
             PDF::Reuse::Barcode::Code39(
                 x => ( $x_pos + ( $width / 10 ) ),
                 y => ( $y_pos + ( $height / 10 ) ),
-                value => $barcode,
+                value => "*$barcode*",
                 ySize => ( .02 * $height ),
                 xSize => $xsize_ratio,
+                hide_asterisk => $xsize_ratio,
             );
         };
         if ($@) {
@@ -504,12 +505,11 @@
             PDF::Reuse::Barcode::Code39(
                 x     => ( $x_pos_circ + 9 ),
                 y     => ( $y_pos + 15 ),
-                value => $value,
-
                 #           prolong => 2.96,
                 xSize => .85,
-
                 ySize => 1.3,
+				value => "*$barcode*",
+				hide_asterisk => $xsize_ratio,
             );
         };
         if ($@) {





More information about the Koha-cvs mailing list