bug 13315 added a display of the last item checked out. Some libraries use this feature and also use hourly loans and would like the feedback to include this information.
Created attachment 84950 [details] [review] 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
Created attachment 85181 [details] [review] 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>
Created attachment 85191 [details] [review] 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>
Created attachment 85330 [details] [review] 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>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.04
backported to 18.05.x for 18.05.11