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

(-)a/Koha/pdfformat/layout1page.pm (-1 / +3 lines)
Lines 249-255 sub printpdf { Link Here
249
    # open the default PDF that will be used for base (1st page already filled)
249
    # open the default PDF that will be used for base (1st page already filled)
250
    my $pdf_template =
250
    my $pdf_template =
251
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout1page.pdf';
251
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout1page.pdf';
252
    my $pdf = PDF::API2->open($pdf_template);
252
    my $pdf_template_obj = PDF::API2->open($pdf_template);
253
    my $pdf_template_str = $pdf_template_obj->to_string();
254
    my $pdf              = PDF::API2->from_string($pdf_template_str);
253
    $pdf->pageLabel(
255
    $pdf->pageLabel(
254
        0,
256
        0,
255
        {
257
        {
(-)a/Koha/pdfformat/layout2pages.pm (-1 / +3 lines)
Lines 264-270 sub printpdf { Link Here
264
    # open the default PDF that will be used for base (1st page already filled)
264
    # open the default PDF that will be used for base (1st page already filled)
265
    my $pdf_template =
265
    my $pdf_template =
266
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout2pages.pdf';
266
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout2pages.pdf';
267
    my $pdf = PDF::API2->open($pdf_template);
267
    my $pdf_template_obj = PDF::API2->open($pdf_template);
268
    my $pdf_template_str = $pdf_template_obj->to_string();
269
    my $pdf              = PDF::API2->from_string($pdf_template_str);
268
    $pdf->pageLabel(
270
    $pdf->pageLabel(
269
        0,
271
        0,
270
        {
272
        {
(-)a/Koha/pdfformat/layout2pagesde.pm (-1 / +3 lines)
Lines 266-272 sub printpdf { Link Here
266
    # open the default PDF that will be used for base (1st page already filled)
266
    # open the default PDF that will be used for base (1st page already filled)
267
    my $pdf_template =
267
    my $pdf_template =
268
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout2pagesde.pdf';
268
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout2pagesde.pdf';
269
    my $pdf = PDF::API2->open($pdf_template);
269
    my $pdf_template_obj = PDF::API2->open($pdf_template);
270
    my $pdf_template_str = $pdf_template_obj->to_string();
271
    my $pdf              = PDF::API2->from_string($pdf_template_str);
270
    $pdf->pageLabel(
272
    $pdf->pageLabel(
271
        0,
273
        0,
272
        {
274
        {
(-)a/Koha/pdfformat/layout3pages.pm (-1 / +3 lines)
Lines 455-461 sub printpdf { Link Here
455
    # open the default PDF that will be used for base (1st page already filled)
455
    # open the default PDF that will be used for base (1st page already filled)
456
    my $pdf_template =
456
    my $pdf_template =
457
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout3pages.pdf';
457
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout3pages.pdf';
458
    my $pdf = PDF::API2->open($pdf_template);
458
    my $pdf_template_obj = PDF::API2->open($pdf_template);
459
    my $pdf_template_str = $pdf_template_obj->to_string();
460
    my $pdf              = PDF::API2->from_string($pdf_template_str);
459
    $pdf->pageLabel(
461
    $pdf->pageLabel(
460
        0,
462
        0,
461
        {
463
        {
(-)a/Koha/pdfformat/layout3pagesfr.pm (-2 / +3 lines)
Lines 449-455 sub printpdf { Link Here
449
    # open the default PDF that will be used for base (1st page already filled)
449
    # open the default PDF that will be used for base (1st page already filled)
450
    my $pdf_template =
450
    my $pdf_template =
451
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout3pagesfr.pdf';
451
        C4::Context->config('intrahtdocs') . '/' . C4::Context->preference('template') . '/pdf/layout3pagesfr.pdf';
452
    my $pdf = PDF::API2->open($pdf_template);
452
    my $pdf_template_obj = PDF::API2->open($pdf_template);
453
    my $pdf_template_str = $pdf_template_obj->to_string();
454
    my $pdf              = PDF::API2->from_string($pdf_template_str);
453
    $pdf->pageLabel(
455
    $pdf->pageLabel(
454
        0,
456
        0,
455
        {
457
        {
456
- 

Return to bug 38516