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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jun 2020 08:31:54 +0000 (10:31 +0200)
commit7de78ab092f7355a15de60e9a2842d9577777581
tree6baa2ecc8a512a413d42846fa8f26b378e4c0cb1
parentd21ad9fe11bdbd8c49eb3d64bb24c414bea8a1f7
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>
Koha/pdfformat/layout2pagesde.pm