It would nice if libraries could edit the 'Order number must appear on all related correspondence, shipping papers and invoices. Notify us immediately if you are unable to supply item(s).' line in the English 1-page order PDF to wording relevant to their library.
Created attachment 149076 [details] [review] Bug 33393: Add system preference Sponsored-by: Pymble Ladies' College
Created attachment 149077 [details] [review] Bug 33393: Enable libraries to configure their own text in the 1-Page order PDF Test plan: 1) Apply patches and restart services 2) Upgrade Koha schema: sudo koha-upgrade-schema <instance> 3) Go to Koha Administration -> Libraries. Ensure Library A has an address, phone and fax. 4) Go to Koha Administration -> System preferences. Search for OrderPdfFormat. Set this to English 1-page layout option. 5) Go to Acquisitions. Use an existing vendor or create a new one. Ensure the vendor has a postal address, phone, fax and accout number. 6) Create a basket for this vendor. Add many orders to this basket, for example 25 items (this is to make the Order PDF cover multiple pages). 7) Close the basket and add it to a basket group of the same name. 8) 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. 9) Click the button to Export as PDF. 10) View the exported PDF. Confirm the PDF is multiple pages long. If it is not then re-open the basketgroup and add more orders to the basket and repeat steps 7, 8, and 9 11) If the PDF is multiple pages long then confirm: - The text "Order number must appear on all related correspondence, shipping papers and invoices. Notify us immediately if you are unable to supply item(s)." appears above the order table. - The page numbers at the bottom of the first page are not obscured by the order table. - That the order table starts near the top of the second page, and not half way down. 12) Change content in the '1PageOrderPDFText' syspref (use the Enter key to split text over multiple lines) and save 13) Back in the Acquisitions module click the button to Export as PDF 14) View the exported PDF. Confirm the following: - Text text above the order table has changed. - The page numbers at the bottom of the first page are not obscrued by the order table. - That the order table starts near the top of the second page and not halfway down. Sponsored-by: Pymble Ladies' College
Created attachment 149078 [details] [review] Bug 33393: Enable libraries to configure their own text in the 1-Page order PDF Test plan: 1) Apply patches and restart services 2) Upgrade Koha schema: sudo koha-upgrade-schema <instance> 3) Go to Koha Administration -> Libraries. Ensure Library A has an address, phone and fax. 4) Go to Koha Administration -> System preferences. Search for OrderPdfFormat. Set this to English 1-page layout option. 5) Go to Acquisitions. Use an existing vendor or create a new one. Ensure the vendor has a postal address, phone, fax and accout number. 6) Create a basket for this vendor. Add many orders to this basket, for example 25 items (this is to make the Order PDF cover multiple pages). 7) Close the basket and add it to a basket group of the same name. 8) 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. 9) Click the button to Export as PDF. 10) View the exported PDF. Confirm the PDF is multiple pages long. If it is not then re-open the basketgroup and add more orders to the basket and repeat steps 7, 8, and 9 11) If the PDF is multiple pages long then confirm: - The text "Order number must appear on all related correspondence, shipping papers and invoices. Notify us immediately if you are unable to supply item(s)." appears above the order table. - The page numbers at the bottom of the first page are not obscured by the order table. - That the order table starts near the top of the second page, and not half way down. 12) Change content in the '1PageOrderPDFText' syspref (use the Enter key to split text over multiple lines) and save 13) Back in the Acquisitions module click the button to Export as PDF 14) View the exported PDF. Confirm the following: - The text above the order table is what you saved in the 1PageOrderPDFText system preference - The page numbers at the bottom of the first page are not obscrued by the order table. - That the order table starts near the top of the second page and not halfway down. 15) Empty the 1PageOrderPDFText system preference and save 16) Back in the Acquisitions module click te button to Export as PDF 17) View the exported PDF and confirm the line of text between the Tel/Fax line and the order table has been removed. Sponsored-by: Pymble Ladies' College
Created attachment 149079 [details] Custom text (highlighted yellow) that can be set in the 1PageOrderPDFText syspref with bug 33393 applied
Created attachment 149106 [details] [review] Bug 33393: Enable libraries to configure their own text in the 1-Page order PDF Test plan: 1) Apply patches and restart services 2) Upgrade Koha schema: sudo koha-upgrade-schema <instance> 3) Go to Koha Administration -> Libraries. Ensure Library A has an address, phone and fax. 4) Go to Koha Administration -> System preferences. Search for OrderPdfFormat. Set this to English 1-page layout option. 5) Go to Acquisitions. Use an existing vendor or create a new one. Ensure the vendor has a postal address, phone, fax and accout number. 6) Create a basket for this vendor. Add many orders to this basket, for example 25 items (this is to make the Order PDF cover multiple pages). 7) Close the basket and add it to a basket group of the same name. 8) 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. 9) Click the button to Export as PDF. 10) View the exported PDF. Confirm the PDF is multiple pages long. If it is not then re-open the basketgroup and add more orders to the basket and repeat steps 7, 8, and 9 11) If the PDF is multiple pages long then confirm: - The text "Order number must appear on all related correspondence, shipping papers and invoices. Notify us immediately if you are unable to supply item(s)." appears above the order table. - The page numbers at the bottom of the first page are not obscured by the order table. - That the order table starts near the top of the second page, and not half way down. 12) Change content in the '1PageOrderPDFText' syspref (use the Enter key to split text over multiple lines) and save 13) Back in the Acquisitions module click the button to Export as PDF 14) View the exported PDF. Confirm the following: - The text above the order table is what you saved in the 1PageOrderPDFText system preference - The page numbers at the bottom of the first page are not obscrued by the order table. - That the order table starts near the top of the second page and not halfway down. 15) Empty the 1PageOrderPDFText system preference and save 16) Back in the Acquisitions module click te button to Export as PDF 17) View the exported PDF and confirm the line of text between the Tel/Fax line and the order table has been removed. Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com>
Hi Alex. This works well. My only comment would be to add a hint or note to the 1PageOrderPDFText system preference about the length of the text. I added multiple long paragraphs and the text was cut off where the order table starts, and does not display the delivery comment. David
(In reply to David Nind from comment #6) > Hi Alex. > > This works well. > > My only comment would be to add a hint or note to the 1PageOrderPDFText > system preference about the length of the text. > > I added multiple long paragraphs and the text was cut off where the order > table starts, and does not display the delivery comment. > > David Hi David, That is a great idea. Thanks for that. I will add a follow-up patch with that addition. Alex
Created attachment 150497 [details] [review] Bug 33393: Add note to system preference explaining text length Sponsored-by: Pymble Ladies' College
Hi David, I have attached a patchset adding a note to the system preference description noting to keep the text length to 3 lines. Is that what you had in mind? Thanks, Alex
Created attachment 150524 [details] [review] Bug 33393: Add system preference Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com>
Created attachment 150525 [details] [review] Bug 33393: Enable libraries to configure their own text in the 1-Page order PDF Test plan: 1) Apply patches and restart services 2) Upgrade Koha schema: sudo koha-upgrade-schema <instance> 3) Go to Koha Administration -> Libraries. Ensure Library A has an address, phone and fax. 4) Go to Koha Administration -> System preferences. Search for OrderPdfFormat. Set this to English 1-page layout option. 5) Go to Acquisitions. Use an existing vendor or create a new one. Ensure the vendor has a postal address, phone, fax and accout number. 6) Create a basket for this vendor. Add many orders to this basket, for example 25 items (this is to make the Order PDF cover multiple pages). 7) Close the basket and add it to a basket group of the same name. 8) 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. 9) Click the button to Export as PDF. 10) View the exported PDF. Confirm the PDF is multiple pages long. If it is not then re-open the basketgroup and add more orders to the basket and repeat steps 7, 8, and 9 11) If the PDF is multiple pages long then confirm: - The text "Order number must appear on all related correspondence, shipping papers and invoices. Notify us immediately if you are unable to supply item(s)." appears above the order table. - The page numbers at the bottom of the first page are not obscured by the order table. - That the order table starts near the top of the second page, and not half way down. 12) Change content in the '1PageOrderPDFText' syspref (use the Enter key to split text over multiple lines) and save 13) Back in the Acquisitions module click the button to Export as PDF 14) View the exported PDF. Confirm the following: - The text above the order table is what you saved in the 1PageOrderPDFText system preference - The page numbers at the bottom of the first page are not obscrued by the order table. - That the order table starts near the top of the second page and not halfway down. 15) Empty the 1PageOrderPDFText system preference and save 16) Back in the Acquisitions module click te button to Export as PDF 17) View the exported PDF and confirm the line of text between the Tel/Fax line and the order table has been removed. Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com>
Created attachment 150526 [details] [review] Bug 33393: Add note to system preference explaining text length Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com>
(In reply to Alex Buckley from comment #9) > Hi David, > > I have attached a patchset adding a note to the system preference > description noting to keep the text length to 3 lines. > > Is that what you had in mind? > > Thanks, > Alex That looks fine to me. Thanks Alex!
(In reply to David Nind from comment #13) > (In reply to Alex Buckley from comment #9) > > Hi David, > > > > I have attached a patchset adding a note to the system preference > > description noting to keep the text length to 3 lines. > > > > Is that what you had in mind? > > > > Thanks, > > Alex > > That looks fine to me. Thanks Alex! Thanks so much David!