|
Lines 55-61
my $txt_from = $cgi->param('from') || undef;
Link Here
|
| 55 |
my $txt_to = $cgi->param('to') || undef; |
55 |
my $txt_to = $cgi->param('to') || undef; |
| 56 |
my $from = int($txt_from) || undef; |
56 |
my $from = int($txt_from) || undef; |
| 57 |
my $to = int($txt_to) || undef; |
57 |
my $to = int($txt_to) || undef; |
| 58 |
my $range = length($txt_from) || undef; |
58 |
my $barcode_length = length($txt_from) || undef; |
| 59 |
|
59 |
|
| 60 |
my $layouts = undef; |
60 |
my $layouts = undef; |
| 61 |
my $templates = undef; |
61 |
my $templates = undef; |
|
Lines 127-133
if ($op eq 'export') {
Link Here
|
| 127 |
push (@batches, {create_script => 'label-create-pdf.pl', |
127 |
push (@batches, {create_script => 'label-create-pdf.pl', |
| 128 |
from => $from, |
128 |
from => $from, |
| 129 |
to => $to, |
129 |
to => $to, |
| 130 |
range => $range, |
130 |
barcode_length => $barcode_length, |
| 131 |
template_id => $template_id, |
131 |
template_id => $template_id, |
| 132 |
layout_id => $layout_id, |
132 |
layout_id => $layout_id, |
| 133 |
start_label => $start_label, |
133 |
start_label => $start_label, |
|
Lines 161-167
elsif ($op eq 'none') {
Link Here
|
| 161 |
referer => $referer, |
161 |
referer => $referer, |
| 162 |
from => $from, |
162 |
from => $from, |
| 163 |
to => $to, |
163 |
to => $to, |
| 164 |
range => $range, |
164 |
barcode_length => $barcode_length, |
| 165 |
txt_from => $txt_from, |
165 |
txt_from => $txt_from, |
| 166 |
txt_to => $txt_to |
166 |
txt_to => $txt_to |
| 167 |
); |
167 |
); |
| 168 |
- |
|
|