Bug 8796 - patron cards not starting on designated card
authorMarc Véron <veron@veron.ch>
Sun, 29 Mar 2015 09:44:19 +0000 (11:44 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 9 Apr 2015 17:42:43 +0000 (14:42 -0300)
commit4f60138080cba847a53b7373c0c98ec42766b8df
tree48e3bce2588675d70de0980c91678f220b999d65
parent0ab2ebfc59d2a0e2f9515156951251f7d738a5eb
Bug 8796 - patron cards not starting on designated card

The patron cards always printed from position 1 on the print form, because patroncards/create-pdf.pl expected start_label as parameter and got star_card instead.

To verify and test:
1)
Go to Home > Tools >Patron card creator >Manage batches
2)
Select a batch anc click "Export"

3)
Set "Enter starting card number" e.g. to 5
4)
Export
5)
Download PDF and view it

Result: The first card is always printed on position 1 (top left) instead of position 5.

Apply patch
Repeat steps above
Step 3) should now read "Enter starting card position"

Result after step 5)
The first card ist printed at the correct position on the printing form.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Works as expected

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Rebased for current master and tested. /MV

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/print.tt
patroncards/create-pdf.pl