Bug 21853: Fix PDF export of basketgroups
authorJulian Maurice <julian.maurice@biblibre.com>
Sat, 17 Nov 2018 10:58:02 +0000 (11:58 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 19 Dec 2018 07:10:55 +0000 (08:10 +0100)
commite47d9fd8b656f7807470ba83cf69df8673a7c0b6
tree8a62a2096e1d8365d9f90fe2b39ae88feb5f7626
parent516f58008cf6859590bc925d01023813565b361e
Bug 21853: Fix PDF export of basketgroups

In recent versions of Perl, '.' is not included by default in @INC. This
breaks PDF export of basketgroups.

This patch moves acqui/pdfformat/*.pm files in Koha namespace so that
they can be 'require'd without manipulating @INC

Test plan:
1. Turn off Plack/Starman and test PDF export for every value of
   OrderPdfFormat system preference
2. Turn on Plack/Starman and test PDF export for every value of
   OrderPdfFormat system preference
3. Test on a dev install and a standard/package install

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 3c18d4c18fad5a0d470c7bdf1ac746a640f25099)

Signed-off-by: Jesse Maseto <jesse@bywatersolution.com>
(cherry picked from commit 320f9bf3d29b145eb2c6948ae517d0fe2e704f5f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/pdfformat/layout2pages.pm [moved from acqui/pdfformat/layout2pages.pm with 99% similarity]
Koha/pdfformat/layout2pagesde.pm [moved from acqui/pdfformat/layout2pagesde.pm with 99% similarity]
Koha/pdfformat/layout3pages.pm [moved from acqui/pdfformat/layout3pages.pm with 99% similarity]
Koha/pdfformat/layout3pagesfr.pm [moved from acqui/pdfformat/layout3pagesfr.pm with 99% similarity]
acqui/basketgroup.pl