View | Details | Raw Unified | Return to bug 8796
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt (-1 / +1 lines)
Lines 82-88 Link Here
82
                            </select>
82
                            </select>
83
                        </li>
83
                        </li>
84
                        <li>
84
                        <li>
85
                            <label style="width:9em" for="start_card">Enter starting card number: </label>
85
                            <label style="width:9em" for="start_card">Enter starting card position: </label>
86
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
86
                            <input type="text" size="5" id="start_card" name="start_card" class="focus" title="Starting card number" value="1" />
87
                        </li>
87
                        </li>
88
                    </ol>
88
                    </ol>
(-)a/patroncards/create-pdf.pl (-3 / +2 lines)
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
- 

Return to bug 8796