Bug 10762: Change the size of barcodes in label creator
authorJérémy Breuillard <jeremy.breuillard@biblibre.com>
Wed, 17 Nov 2021 09:08:49 +0000 (10:08 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 13:35:29 +0000 (10:35 -0300)
commit2cf45462fe7f4cc3aefadf0c03d73cab57c48f64
tree0c58849aca778018199a393f9ec7f1ea22a4c0ec
parentb4cfe0019aceb11fb87a8f648e4a1bb657d84409
Bug 10762: Change the size of barcodes in label creator

Test plan:
1)Home > Tools > Label creator > Manage Layout or New Layout
2)Make a new layout or edit an existing one
3)Notice the 2 new fields "Barcode width/Barcode height"
4)Save it like this
5)Create a batch of barcode and export if in PDF
6)Notice the size of barcode
7)Go back to your existing layout
8)Enter some values (Barcode width: 1.6 / Barcode height: 0.04), save
9)Take back your batch of barcode and export it in PDF
10)The barcode should be 2x bigger

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Johanna Miettunen <johanna.miettunen@haaga-helia.fi>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Creators/Layout.pm
C4/Labels/Label.pm
installer/data/mysql/atomicupdate/update-BZ_10762.pl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt
labels/label-create-pdf.pl
labels/label-edit-layout.pl