[Koha-bugs] [Bug 17236] Add minute and hours to last checked out item display for hourly loans
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 20 13:22:34 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17236
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #85191|0 |1
is obsolete| |
--- Comment #4 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 85330
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=85330&action=edit
Bug 17236: Add minute and hours to last checked out item on circulation for
hourly loans
This is a simple fix using the right TT filter:
[% issue.date_due | $KohaDates as_due_date => 1 %]
The time part of the due date will only display if it's an hourly loan
(!=23:59)
To test:
- Check out 2 items
- One with a loan period in days
- One with a loan period in hours
- Verify the the due date only shows the date part
- Apply patch
- Return items and repeat
- Verify that now the time part will show for the hourly loan
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Mikaël Olangcay Brisebois
<mikael.olangcay-brisebois at inLibro.com>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list