[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
Sun Feb 10 21:38:17 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17236

--- Comment #1 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 84950
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84950&action=edit
Bug 17236: Add minute an dhours 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

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


More information about the Koha-bugs mailing list