[Koha-bugs] [Bug 14946] Remove C4::Dates from files acqui/*.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 10 19:00:29 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14946
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #44596|0 |1
is obsolete| |
Attachment #44708|0 |1
is obsolete| |
--- Comment #14 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 44717
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=44717&action=edit
Bug 14946: Remove C4::Dates from acqui/* files
This patch replaces all use of C4::Dates with Koha::DateUtils, which is
the best practice to follow.
It also fixes a bug on the invoice search, the shipment date (from and
to) were not passed correctly from one page to the other.
Test plan:
1/ Search for orders using the different filters
2/ Create an invoice, try with setting and leaving empty the date
fields.
Default should be an undefined value (not today)
3/ Search for invoices and use the 4 different filters.
Close and reopen invoices.
The filters should be kept from one page to the other (not that it does
not work with shipment date before this patch).
4/ Receive an order, on creating the invoice, the default date should be
today.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list