Bugzilla – Attachment 28143 Details for
Bug 9724
Hourly loans don't show time due in SCO
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 9724 - Hourly loans don't show time due in SCO
Signed-off-Bug-9724---Hourly-loans-dont-show-time-.patch (text/plain), 3.91 KB, created by
Marc Véron
on 2014-05-09 15:33:17 UTC
(
hide
)
Description:
[Signed-off] Bug 9724 - Hourly loans don't show time due in SCO
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-05-09 15:33:17 UTC
Size:
3.91 KB
patch
obsolete
>From 2a4e42059957806271ffd919c205ffe278f92176 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 24 Apr 2014 15:21:59 -0400 >Subject: [PATCH] [Signed-off] Bug 9724 - Hourly loans don't show time due in > SCO >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Due dates in the self checkout module don't display the time items are >due, and thus items which are on hourly loans don't display an accurate >due date and time. This patch corrects this by adding the "as_due_date >=> 1" parameter added by Bug 9723. > >To test, apply the patch for Bug 9723 if necessary. Enable an hourly >loan period for an itemtype in your collection. Log into the >self-checkout system and check out an item which circulates by the hour. >The due date and time should be displayed correctly. > >Check out an item which does not circulate hourly. The due date should >be displayed as a date only. > >Test in both prog and Bootstrap themes. > >Followed test plan. Wors as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt | 4 ++-- > koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >index e7a42e7..518fcee 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt >@@ -229,9 +229,9 @@ > </td> > <td>[% ISSUE.itemcallnumber %]</td> > [% IF ( ISSUE.overdue ) %] >- <td class="overdue"><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates %]</span></td> >+ <td class="overdue"><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates as_due_date => 1 %]</span></td> > [% ELSE %] >- <td><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates %]</span></td> >+ <td><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates as_due_date => 1 %]</span></td> > [% END %] > <td> > <form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >index a5661d5..e117f25 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/sco/sco-main.tt >@@ -276,7 +276,7 @@ Sorry, this self-checkout station has lost authentication. Please contact the a > <td>[% UNLESS ( noitemlinks ) %]<a href="/cgi-bin/koha/opac-detail.pl?bib=[% ISSUE.biblionumber %]">[% ISSUE.title |html %]</a>[% ELSE %]<strong>[% ISSUE.title |html %]</strong>[% END %]<span class="item-details"> > [% ISSUE.author %]</span> ([% ISSUE.barcode %])</td> > <td>[% ISSUE.itemcallnumber %]</td> >- [% IF ( ISSUE.overdue ) %]<td class="overdue"><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates %]</span></td>[% ELSE %]<td><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates %]</span></td>[% END %] >+ [% IF ( ISSUE.overdue ) %]<td class="overdue"><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates as_due_date => 1 %]</span></td>[% ELSE %]<td><span title="[% ISSUE.date_due %]">[% ISSUE.date_due | $KohaDates as_due_date => 1 %]</span></td>[% END %] > <td> > <form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> > <input type="hidden" name="patronid" value="[% patronid %]" /> >-- >1.7.10.4
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 9724
:
27550
|
27556
| 28143 |
28178