[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
Sun Mar 11 01:32:54 CET 2012


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

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8130|0                           |1
        is obsolete|                            |

--- Comment #3 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 8153
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8153&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

Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Corrected issue display of dates in warnings.

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


More information about the Koha-bugs mailing list