Bug 14928

Summary: Remove C4::Dates from files acqui/pdfformat/layout*.pm
Product: Koha Reporter: Marc Véron <veron>
Component: Architecture, internals, and plumbingAssignee: Marc Véron <veron>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: hector.hecaxmmx, jonathan.druart, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 14870    
Attachments: Bug 14928 - Remove C4::Dates from files acqui/pdfformat/layout*.pm
[COUNTER-PATCH] Bug 14928: Remove C4::Dates from circ/pendingreserves.pl
[SIGNED-OFF]Bug 14928 - Remove C4::Dates from files acqui/pdfformat/layout*.pm
Bug 14928 - Remove C4::Dates from files acqui/pdfformat/layout*.pm

Description Marc Véron 2015-09-30 13:56:40 UTC
This patch removes C4::Dates from:
- acqui/pdfformat/layout2pages.pm
- acqui/pdfformat/layout2pagesde.pm
- acqui/pdfformat/layout3pages.pm
- acqui/pdfformat/layout3pagesfr.pm
Comment 1 Marc Véron 2015-09-30 14:11:56 UTC Comment hidden (obsolete)
Comment 2 Jonathan Druart 2015-10-01 09:13:35 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-10-01 09:14:18 UTC
Wrong bug report, sorry about that.
Comment 4 Héctor Eduardo Castro Avalos 2015-10-08 21:17:29 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2015-10-09 08:33:43 UTC
Created attachment 43291 [details] [review]
Bug 14928 - Remove C4::Dates from files acqui/pdfformat/layout*.pm

This patch removes C4::Dates from:
- acqui/pdfformat/layout2pages.pm
- acqui/pdfformat/layout2pagesde.pm
- acqui/pdfformat/layout3pages.pm
- acqui/pdfformat/layout3pagesfr.pm

To test:
- Apply patch
- Go to Home > Acquisitions > [Vendor] > Basket groups
- Print a basket (order)
- Verify that the current date is formatted respects syspref 'dateformat'
- Do the same with syspref 'OrderPdfFormat' set to the four different choices

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised. Date printed in PDF Ok

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 6 Tomás Cohen Arazi (tcohen) 2015-10-09 14:30:07 UTC
Patch pushed to master.

Thanks Marc!