[Koha-bugs] [Bug 13536] Date due without time on CHECKOUT alert

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 8 13:02:34 CET 2015


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

--- Comment #1 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 35033
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35033&action=edit
Bug 13536: Remove time from CHECKOUT notice

In the issues table date_due is a datetime field.
If you do not have hourly loans, the 23:59:00 on the CHECKOUT notice may
be somewhat confusing. (When does the library close?)

In the patch submitted I virtually add a date_due_without_time column to
the issues table by adding such a field in the SELECT statement in
Letters.pm, routine _parseletter_sth.

If you want to remove the time from the notice, now you can just edit the
notice and replace <<issues.date_due>> by <<issues.date_due_without_time>>.

Test plan:
[1] Edit CHECKOUT notice as described above.
[2] Check out a book to a patron (notice enabled in his messaging prefs).
[3] Check the notice: Do you only see the date, not the time?

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


More information about the Koha-bugs mailing list