[Koha-bugs] [Bug 7444] Use T::T date plugin to display dates omnibus

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 9 20:04:06 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7444

--- Comment #2 from Ian Walls <koha.sekjal at gmail.com> ---
Created attachment 8130
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8130&action=edit
Bug 7444: Update circ/circulation.pl to use KohaDates TT Plugin

Removes all date formatting done in circ/circulation, and sets any/all date
outputs to iso format.  The formatting of dates is now handled in the template
using the KohaDates plugin.

This allows use to remove a dependency on C4/Dates.pm from the script.

This patch also removes the usage of C4/Overdues/CheckBorrowerDebarred.  Since
borrowers.debarred is returned by GetMemberDetails, it doesn't make sense to
include another module to run another MySQL query just to fetch the date again.

To Test:

1. View the checkout page for a patron with materials checked out today and in
days past, as
well as items on reserve.
2. View a patron who is nearing their expiry date
3. Renew a patron
4. Renew a material from the checkout page using the renewal date selector
5. Attempt to checkout a book to a patron that is on hold for someone else
6. Attempt to checkout a book that is currently checked out
7. View a debarred patron

In all cases, any dates displayed should be in syspref format

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list