Bug 7267: Add account number to German PDF template
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 27 Feb 2014 09:16:21 +0000 (10:16 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 13 Aug 2014 13:53:51 +0000 (09:53 -0400)
To test:
- Switch system preference OrderPdfFormat to pdfformat::layout2pagesde
- Create one or more baskets with some orders each.
- Add all baskets to one basket group
- Print the basket group
- Check the account number from your vendor shows up with the other
  vendor details

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit ae030272a4f30104adefe9d6164eb99a0f4d8f73)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 53b8968e7d196f5a2634a48fcd17fecaf52bc4b2)

acqui/pdfformat/layout2pagesde.pm
koha-tmpl/intranet-tmpl/prog/pdf/layout2pagesde.odt
koha-tmpl/intranet-tmpl/prog/pdf/layout2pagesde.pdf

index efdc231..8fa15f4 100644 (file)
@@ -208,6 +208,8 @@ sub printhead {
     $text->text($bookseller->{address2});
     $text->translate(100/mm, ($height-200)/mm);
     $text->text($bookseller->{address3});
+    $text->translate(100/mm, ($height-205)/mm);
+    $text->text($bookseller->{accountnumber});
     
     # print delivery infos
     $text->font( $pdf->corefont("Times-Bold", -encoding => "utf8"), 4/mm );
index 69106d7..6b7457f 100644 (file)
Binary files a/koha-tmpl/intranet-tmpl/prog/pdf/layout2pagesde.odt and b/koha-tmpl/intranet-tmpl/prog/pdf/layout2pagesde.odt differ
index dfd8fab..d418053 100644 (file)
Binary files a/koha-tmpl/intranet-tmpl/prog/pdf/layout2pagesde.pdf and b/koha-tmpl/intranet-tmpl/prog/pdf/layout2pagesde.pdf differ