Lines 48-54
my ( $template, $loggedinuser, $cookie ) = get_template_and_user({
Link Here
|
48 |
my $batch_id = $cgi->param('batch_id') if $cgi->param('batch_id'); |
48 |
my $batch_id = $cgi->param('batch_id') if $cgi->param('batch_id'); |
49 |
my $template_id = $cgi->param('template_id') || undef; |
49 |
my $template_id = $cgi->param('template_id') || undef; |
50 |
my $layout_id = $cgi->param('layout_id') || undef; |
50 |
my $layout_id = $cgi->param('layout_id') || undef; |
51 |
my $start_label = $cgi->param('start_label') || 1; |
51 |
my $start_card = $cgi->param('start_card') || 1; |
52 |
my @label_ids = $cgi->param('label_id') if $cgi->param('label_id'); |
52 |
my @label_ids = $cgi->param('label_id') if $cgi->param('label_id'); |
53 |
my @borrower_numbers = $cgi->param('borrower_number') if $cgi->param('borrower_number'); |
53 |
my @borrower_numbers = $cgi->param('borrower_number') if $cgi->param('borrower_number'); |
54 |
|
54 |
|
Lines 78-84
$pdf->Compress(1); # comment this out to debug pdf files, but be sure to uncomme
Link Here
|
78 |
$pdf->Mbox($lower_left_x, $lower_left_y, $upper_right_x, $upper_right_y); |
78 |
$pdf->Mbox($lower_left_x, $lower_left_y, $upper_right_x, $upper_right_y); |
79 |
|
79 |
|
80 |
my ($llx, $lly) = 0,0; |
80 |
my ($llx, $lly) = 0,0; |
81 |
(undef, undef, $llx, $lly) = $template->get_label_position($start_label); |
81 |
(undef, undef, $llx, $lly) = $template->get_label_position($start_card); |
82 |
|
82 |
|
83 |
if (@label_ids) { |
83 |
if (@label_ids) { |
84 |
my $batch_items = $batch->get_attr('items'); |
84 |
my $batch_items = $batch->get_attr('items'); |
85 |
- |
|
|