Bug 25507: Fix table in basket group PDF German 2-pages
authorKatrin Fischer <katrin.fischer.83@web.de>
Fri, 22 May 2020 23:22:53 +0000 (01:22 +0200)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Jun 2020 22:23:33 +0000 (22:23 +0000)
commit7acffaa03f690a2104afbfeaa3cc12277670db04
treed50fcbf1b1fae5f7c680de67f0424e1ada037a21
parent64ea0e5a34d1751a8fd7cec3fe5697083a3ebab4
Bug 25507: Fix table in basket group PDF German 2-pages

A variable was doubled up which made the columns in the
table of orders no longer line up (different number of headers
to columns).

To test:
- Create at least one basket with one or more orders
- Close the basket
- Add the basket to a basket group manually or let Koha do it
  on closing
- Change the OrderPdfFormat system preference to 'German 2-page'
- Go to the basket group page and print the PDF of the basket
- Verify the table of orders doesn't look right and runs outside
  the page
- Apply patch
- Repeat the PDF print - now table should look right

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 7de78ab092f7355a15de60e9a2842d9577777581)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Koha/pdfformat/layout2pagesde.pm