Bug 31257: Add a new English 1 page layout to export basketgroup
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 28 Jul 2022 22:36:37 +0000 (10:36 +1200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 11 Oct 2022 13:44:10 +0000 (10:44 -0300)
commit321e9e93428c54b869390ee6ab36d764c190593f
tree29ebc8d9cb187885be67829499722de4a3dbd93a
parent80eb5555d6e2a944669046fd1abb7ac91db4ccb9
Bug 31257: Add a new English 1 page layout to export basketgroup

This patch adds a new English 1 page layout to be used when exporting a
basketgroup as PDF. This has been modelled after an example PDF from
another library system.

To test:
1) Go to Koha Administration -> Libraries. Ensure Library A has an
address, phone and fax.
2) Go to Koha Administration -> System preferences. Search for
OrderPdfFormat. Set this to the new English 1-page layout option.
3) Go to Acquisitions. Use an existing vendor or create a new one.
Ensure the vendor has a postal address, phone, fax and accout number.
4) Create a basket for this vendor. Add a few orders to the basket.
5) Close the basket and add it to a basket group of the same name.
6) Edit the basket group. Add an address in the delivery place, and a
delivery comment. Check the box to close the basket group and Save.
7) Click the button to Export as PDF.
8) View the exported PDF. Confirm all of the information displayed is
correct.
9) Reopen the basketgroup. Edit the details and remove the delivery
place text. Re-close the basketgroup.
10) Repeat steps 7 and 8.

Sponsored-by: Pymble Ladies' College
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/pdfformat/layout1page.pm [new file with mode: 0644]
acqui/basketgroup.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/acquisitions.pref
koha-tmpl/intranet-tmpl/prog/pdf/layout1page.odt [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/pdf/layout1page.pdf [new file with mode: 0644]