Bug 14781: Creation of barcode types 2of5 not functional
This patch fixes the rendering of "COOP2of5" or "Industrial2of5" barcodes in the label creator module. To test: - Create a label layout with COOP2of5 barcode type - Create labels (make sure that the items's barcode values are numeric only!) - Export batch and download PDF. Without patch: - No barcodes rendered With patch - Barcodes should render as expected. Test for both barcode types. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Works as described, tested both formats. Non digit barcode is not printed. No koha-qa errors, no t/ & xt/ errors Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Note: To be printed, barcode should be numerical. Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> (cherry picked from commit2b88f0cb38) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commit0d0b4ae848) Signed-off-by: Liz Rea <wizzyrea@gmail.com>
This commit is contained in:
parent
8e4c2bb2c7
commit
744da17372
|
|
@ -535,7 +535,7 @@ sub barcode {
|
|||
PDF::Reuse::Barcode::COOP2of5(
|
||||
x => $params{'llx'},
|
||||
y => $params{'lly'},
|
||||
value => "*$params{barcode_data}*",
|
||||
value => $params{barcode_data},
|
||||
xSize => $x_scale_factor,
|
||||
ySize => $params{'y_scale_factor'},
|
||||
mode => 'graphic',
|
||||
|
|
@ -553,7 +553,7 @@ sub barcode {
|
|||
PDF::Reuse::Barcode::Industrial2of5(
|
||||
x => $params{'llx'},
|
||||
y => $params{'lly'},
|
||||
value => "*$params{barcode_data}*",
|
||||
value => $params{barcode_data},
|
||||
xSize => $x_scale_factor,
|
||||
ySize => $params{'y_scale_factor'},
|
||||
mode => 'graphic',
|
||||
|
|
|
|||
Loading…
Reference in New Issue