X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=labels%2Flabel-create-pdf.pl;h=6f6de6252343375e08a64d39b06b7c21c05a3ebe;hb=6827107ed48fadac534e34528c6855c65ef48bc4;hp=64bd85e914bdf702cf819c0bf55e3fd164686c09;hpb=8e0b1fe58f7e4f6e595b18d43c939c203833dac1;p=koha.git diff --git a/labels/label-create-pdf.pl b/labels/label-create-pdf.pl index 64bd85e914..6f6de62523 100755 --- a/labels/label-create-pdf.pl +++ b/labels/label-create-pdf.pl @@ -6,11 +6,8 @@ use warnings; use CGI; use C4::Debug; -use C4::Labels::Batch 1.000000; -use C4::Labels::Template 1.000000; -use C4::Labels::Layout 1.000000; -use C4::Creators::PDF 1.000000; -use C4::Labels::Label 1.000000; +use C4::Creators 1.000000; +use C4::Labels 1.000000; my $cgi = new CGI; @@ -97,7 +94,7 @@ else { LABEL_ITEMS: foreach my $item (@{$items}) { my ($barcode_llx, $barcode_lly, $barcode_width, $barcode_y_scale_factor) = 0,0,0,0; - if ($layout->get_attr('printing_type') eq 'ALT') { # we process the ALT style printing type here because it is not an atomic printing type + if ($layout->get_attr('printing_type') eq 'ALT') { # we process the ALT style printing type here because it is not an atomic printing type my $label_a = C4::Labels::Label->new( batch_id => $batch_id, item_number => $item->{'item_number'}, @@ -210,7 +207,7 @@ Copyright 2009 Foundations Bible College. =head1 LICENSE This file is part of Koha. - + Koha is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.