Bugzilla – Attachment 36915 Details for
Bug 11201
List pending in-house checkouts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11201: Display overdues in red
PASSED-QA-Bug-11201-Display-overdues-in-red.patch (text/plain), 2.19 KB, created by
Katrin Fischer
on 2015-03-16 01:00:27 UTC
(
hide
)
Description:
[PASSED QA] Bug 11201: Display overdues in red
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2015-03-16 01:00:27 UTC
Size:
2.19 KB
patch
obsolete
>From caa3c67dc348473adf69631d9b5af4f0f291224b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 4 Nov 2014 10:20:00 +0100 >Subject: [PATCH] [PASSED QA] Bug 11201: Display overdues in red > >On the pending on-site checkout list, the date for overdues are now >displayed in red. > >Test plan: >Make sure you have on-site checkouts created today and before. >The date for the ones created before today should be displayed in red. > >Signed-off-by: Nicole <nicole@bywatersolutions.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > C4/Circulation.pm | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt | 6 +++++- > 2 files changed, 6 insertions(+), 1 deletion(-) > >diff --git a/C4/Circulation.pm b/C4/Circulation.pm >index 2726f79..a6aa178 100644 >--- a/C4/Circulation.pm >+++ b/C4/Circulation.pm >@@ -3911,6 +3911,7 @@ sub GetPendingOnSiteCheckouts { > items.location, > issues.date_due, > issues.branchcode, >+ issues.date_due < NOW() AS is_overdue, > biblio.author, > biblio.title, > borrowers.firstname, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt >index cb67007..89a2ee4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/on-site_checkouts.tt >@@ -52,7 +52,11 @@ $(document).ready(function(){ > <tbody> > [% FOREACH item IN pending_onsite_checkouts %] > <tr> >- <td><span title="[% item.date_due %]">[% item.date_due | $KohaDates %]</span></td> >+ <td> >+ [% IF item.is_overdue %]<span class="overdue">[% END %] >+ <span title="[% item.date_due %]">[% item.date_due | $KohaDates %]</span> >+ [% IF item.is_overdue %]</span>[% END %] >+ </td> > <td> > <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% item.borrowernumber %]">[%item.firstname %] [% item.surname %]</a> > </td> >-- >1.9.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 11201
:
22718
|
31391
|
31392
|
31666
|
33185
|
36278
|
36471
|
36475
|
36646
|
36663
|
36914
| 36915 |
36916
|
36917