[Bug 33393] New: Modify sentence above the order table in English 1-page order PDF
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Bug ID: 33393 Summary: Modify sentence above the order table in English 1-page order PDF Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Acquisitions Assignee: koha-bugs@lists.koha-community.org Reporter: alexbuckley@catalyst.net.nz QA Contact: testopia@bugs.koha-community.org 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. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Change sponsored?|--- |Sponsored Assignee|koha-bugs@lists.koha-commun |alexbuckley@catalyst.net.nz |ity.org | Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #1 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Created attachment 149076 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149076&action=edit Bug 33393: Add system preference Sponsored-by: Pymble Ladies' College -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #2 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Created attachment 149077 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149077&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |33340 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33340 [Bug 33340] Correct formatting of English 1-page order PDF when the basket group covers multiple pages -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Alex Buckley <alexbuckley@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149077|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #3 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Created attachment 149078 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149078&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #4 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Created attachment 149079 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149079&action=edit Custom text (highlighted yellow) that can be set in the 1PageOrderPDFText syspref with bug 33393 applied -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149078|0 |1 is obsolete| | --- Comment #5 from David Nind <david@davidnind.com> --- Created attachment 149106 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149106&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #6 from 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #7 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #8 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Created attachment 150497 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150497&action=edit Bug 33393: Add note to system preference explaining text length Sponsored-by: Pymble Ladies' College -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #9 from Alex Buckley <alexbuckley@catalyst.net.nz> --- 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149076|0 |1 is obsolete| | --- Comment #10 from David Nind <david@davidnind.com> --- Created attachment 150524 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150524&action=edit Bug 33393: Add system preference Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #149106|0 |1 is obsolete| | --- Comment #11 from David Nind <david@davidnind.com> --- Created attachment 150525 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150525&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #150497|0 |1 is obsolete| | --- Comment #12 from David Nind <david@davidnind.com> --- Created attachment 150526 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150526&action=edit Bug 33393: Add note to system preference explaining text length Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #13 from 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! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #14 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (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! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl Status|Signed Off |Failed QA --- Comment #15 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- + my $ordersentences = C4::Context->preference("1PageOrderPDFText"); Sorry, Alex. But we should not add text blocks into preferences. We now have HTML blocks etc. to do this better and allow for translation. Failed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |m.de.rooy@rijksmuseum.nl |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #16 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Marcel de Rooy from comment #15)
+ my $ordersentences = C4::Context->preference("1PageOrderPDFText");
Sorry, Alex. But we should not add text blocks into preferences. We now have HTML blocks etc. to do this better and allow for translation.
Failed QA
To be fair: the PDF files are one language only, they aren't tanslatable and you only use one at a time per global preference. And the WYSIWG editor could create issues with the PDF. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #17 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Katrin Fischer from comment #16)
(In reply to Marcel de Rooy from comment #15)
+ my $ordersentences = C4::Context->preference("1PageOrderPDFText");
Sorry, Alex. But we should not add text blocks into preferences. We now have HTML blocks etc. to do this better and allow for translation.
Failed QA
To be fair: the PDF files are one language only, they aren't tanslatable and you only use one at a time per global preference. And the WYSIWG editor could create issues with the PDF.
Well, you can solve it in several ways. Small template file? But we should not add a preference imo. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #18 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Marcel de Rooy from comment #17)
(In reply to Katrin Fischer from comment #16)
(In reply to Marcel de Rooy from comment #15)
+ my $ordersentences = C4::Context->preference("1PageOrderPDFText");
Sorry, Alex. But we should not add text blocks into preferences. We now have HTML blocks etc. to do this better and allow for translation.
Failed QA
To be fair: the PDF files are one language only, they aren't tanslatable and you only use one at a time per global preference. And the WYSIWG editor could create issues with the PDF.
Well, you can solve it in several ways. Small template file? But we should not add a preference imo.
A server side file won't really work for the use case. I am not a fan of "enhancing" the PDF templates - I think it's a dead end. But I don't see as we haven't formally deprecated them, how it can block this and a preference makes the most sense. You can't use TT or anything there, it's all very custom as the text and contents are placed by the .pm in an .odt template. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Signed Off QA Contact|m.de.rooy@rijksmuseum.nl |testopia@bugs.koha-communit | |y.org --- Comment #19 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Well, let me step aside for this QA turn :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #20 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Alex, maybe we (I...) should let you argue this one. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |In Discussion --- Comment #21 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Katrin Fischer from comment #20)
Alex, maybe we (I...) should let you argue this one.
Moving this to In discussion. And inviting Alex to reply on earlier comments. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #22 from Alex Buckley <alexbuckley@catalyst.net.nz> --- Hi Marcel and Katrin, Thanks both for your comments. I have thought on both of them. I agree that I am not a fan of enhancing the PDF files, especially since it is possible for the user to add a message much too long for the PDF file, and get the problem that David noted in comment #6 However, if a library wants to change the wording of the pdf, as is the use case her, I don't see what other options there are. I agree with Katrin that trying to use the HTML customisations WYSIWG editor could create problems with the pdf - for example if users try to add tables, images, fonts. I suppose one possible workaround could be to shift this to being a notice and so it could be edited from the notices and slips interface. What are your thoughts on that? Then no WYSIWG editor is involved. Alex -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #23 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- My current thought would be: I do not oppose this as a workaround with commitment to follow up and improve. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #24 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- (In reply to Marcel de Rooy from comment #23)
My current thought would be: I do not oppose this as a workaround with commitment to follow up and improve.
Hi Marcel, what would you ask for as follow-up/improvements here in order to pass? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #25 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (In reply to Katrin Fischer from comment #24)
(In reply to Marcel de Rooy from comment #23)
My current thought would be: I do not oppose this as a workaround with commitment to follow up and improve.
Hi Marcel, what would you ask for as follow-up/improvements here in order to pass?
Hi Katrin and Marcel, Thanks for your replies. Yes, Marcel if you wouldn't mind noting what you would want as follow-ups/improvements here that would be helpful so we can raise them with our sponsoring library. Thanks so much, Alex -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #26 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Katrin Fischer from comment #24)
(In reply to Marcel de Rooy from comment #23)
My current thought would be: I do not oppose this as a workaround with commitment to follow up and improve.
Hi Marcel, what would you ask for as follow-up/improvements here in order to pass?
Actually nothing here. See comment23. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Signed Off --- Comment #27 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Back to Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #28 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- (In reply to Alex Buckley from comment #25)
Yes, Marcel if you wouldn't mind noting what you would want as follow-ups/improvements here that would be helpful so we can raise them with our sponsoring library.
Please reconstruct from earlier discussion. Not having this sharp right now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #29 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (In reply to Marcel de Rooy from comment #28)
(In reply to Alex Buckley from comment #25)
Yes, Marcel if you wouldn't mind noting what you would want as follow-ups/improvements here that would be helpful so we can raise them with our sponsoring library.
Please reconstruct from earlier discussion. Not having this sharp right now.
Thanks will reconstruct. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #150524|0 |1 is obsolete| | Attachment #150525|0 |1 is obsolete| | Attachment #150526|0 |1 is obsolete| | --- Comment #30 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 163214 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163214&action=edit Bug 33393: Add system preference Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #31 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 163215 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163215&action=edit 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> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #32 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 163216 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163216&action=edit Bug 33393: Add note to system preference explaining text length Sponsored-by: Pymble Ladies' College Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #33 from Kyle M Hall <kyle@bywatersolutions.com> --- Created attachment 163217 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163217&action=edit Bug 33393: tidy layout1page.pm Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle@bywatersolutions.com QA Contact|testopia@bugs.koha-communit |kyle@bywatersolutions.com |y.org | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #34 from Kyle M Hall <kyle@bywatersolutions.com> --- While I tend to agree PDF generation isn't the greatest, this is a minor enhancement and it was far too onerous to ask to replace an entire subsystem to add such a small enhancement. Let's get this in! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #35 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (In reply to Kyle M Hall from comment #34)
While I tend to agree PDF generation isn't the greatest, this is a minor enhancement and it was far too onerous to ask to replace an entire subsystem to add such a small enhancement. Let's get this in!
Thank you very much Kyle. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #36 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I am going to push this as is with a tiny follow up to explain that this only works for English 1-page. I think it would have been great to adapt all the available notices as this won't be usable for libraries relying on the German or French translations. Maybe I can persuade you to do a follow-up? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #37 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- I think we should also not set a text on update - this would be a surprising change. Updated the database update accordingly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |24.05.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #38 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 --- Comment #39 from Alex Buckley <alexbuckley@catalyst.net.nz> --- (In reply to Katrin Fischer from comment #36)
I am going to push this as is with a tiny follow up to explain that this only works for English 1-page. I think it would have been great to adapt all the available notices as this won't be usable for libraries relying on the German or French translations. Maybe I can persuade you to do a follow-up?
Hi Katrin, Sorry for my delayed reply, I have been on leave. Firstly, thank you for pushing this enhancement. I have contacted our partner library who sponsored this enhancement to see if they would like to sponsor your suggested follow-up. I'll be in touch if they would like to proceed. Thanks, Alex -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Text to go in the| |This enhancement adds the release notes| |new `1PageOrderPDFText` | |system preference allowing | |librarians to customise the | |output of PDF orders. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Needs documenting CC| |fridolin.somers@biblibre.co | |m --- Comment #40 from Fridolin Somers <fridolin.somers@biblibre.com> --- Not backported to 23.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33393 Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Documentation| |Caroline Cyr La Rose contact| | Documentation| |https://gitlab.com/koha-com submission| |munity/koha-manual/-/merge_ | |requests/901 Status|Needs documenting |RESOLVED CC| |caroline.cyr-la-rose@inlibr | |o.com Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org