Bugzilla – Attachment 85191 Details for
Bug 17236
Add minute and hours to last checked out item display for hourly loans
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17236: Add minute and hours to last checked out item on circulation for hourly loans
Bug-17236-Add-minute-and-hours-to-last-checked-out.patch (text/plain), 1.88 KB, created by
Mikaël Olangcay Brisebois
on 2019-02-15 20:12:50 UTC
(
hide
)
Description:
Bug 17236: Add minute and hours to last checked out item on circulation for hourly loans
Filename:
MIME Type:
Creator:
Mikaël Olangcay Brisebois
Created:
2019-02-15 20:12:50 UTC
Size:
1.88 KB
patch
obsolete
>From 282aed649ce724c0e6ca376e60d0d62009460dee Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 6 Feb 2019 12:27:53 +0000 >Subject: [PATCH] Bug 17236: Add minute and hours to last checked out item on > circulation for hourly loans >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index a4c2e12ed0..379ed66e01 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -614,7 +614,7 @@ No patron matched <span class="ex">[% message | html %]</span> > </fieldset> > [% IF ( issue ) %] > <div class="lastchecked"> >- <p><strong>Checked out: </strong>[% issue.item.biblioitemnumber.biblionumber.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates %]</p> >+ <p><strong>Checked out: </strong>[% issue.item.biblioitemnumber.biblionumber.title | html %] ([% issue.item.barcode | html %]). Due on [% issue.date_due | $KohaDates as_due_date => 1 %]</p> > </div> > [% END %] > </form></div> >-- >2.17.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17236
:
84950
|
85181
|
85191
|
85330