]> git.koha-community.org Git - koha.git/commit
Bug 17236: Add minute and hours to last checked out item on circulation for hourly...
authorKatrin Fischer <katrin.fischer.83@web.de>
Wed, 6 Feb 2019 12:27:53 +0000 (12:27 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 6 Mar 2019 19:37:27 +0000 (19:37 +0000)
commit7ede3a464f0d0a5c0332ff8dbf2d60a7b5e689c7
tree61cf02e183c2cd0d87328b9deb8cb68d3705f77f
parent34bfc86402f7b7db67ac1bed1a379604cfdd6014
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@myacpl.org>
Signed-off-by: Mikaƫl Olangcay Brisebois <mikael.olangcay-brisebois@inLibro.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 8211aad8c7ad772685b5e3624b3b55b738fe18a2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f4a02e66d3d7485109116f6a9b9f9c33218a4d4a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt