Bugzilla – Attachment 51115 Details for
Bug 15919
Batch checkout should show due date in list of checked-out items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15919: Batch checkout - Display the due date
Bug-15919-Batch-checkout---Display-the-due-date.patch (text/plain), 2.08 KB, created by
Marc Véron
on 2016-05-02 19:28:34 UTC
(
hide
)
Description:
Bug 15919: Batch checkout - Display the due date
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-05-02 19:28:34 UTC
Size:
2.08 KB
patch
obsolete
>From 4de8f9b50648eebcbd43b507425f7c3ac225042f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 2 May 2016 20:19:05 +0100 >Subject: [PATCH] Bug 15919: Batch checkout - Display the due date >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >When an item has been checked out in a batch, the due date will now be >displayed in the information column. > >Test plan: >Use the batch checkout to check some items out >Confirm that the due date is displayed if the items have been checked >out. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > circ/circulation.pl | 2 +- > .../prog/en/modules/circ/circulation_batch_checkouts.tt | 4 ++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > >diff --git a/circ/circulation.pl b/circ/circulation.pl >index c2d9399..b7b605d 100755 >--- a/circ/circulation.pl >+++ b/circ/circulation.pl >@@ -425,7 +425,7 @@ if (@$barcodes) { > } > unless($confirm_required) { > my $issue = AddIssue( $borrower, $barcode, $datedue, $cancelreserve, undef, undef, { onsite_checkout => $onsite_checkout, auto_renew => $session->param('auto_renew') } ); >- $template->param( issue => $issue ); >+ $template_params->{issue} = $issue; > $session->clear('auto_renew'); > $inprocess = 1; > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >index 5af9853..614fdbb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >@@ -270,6 +270,10 @@ $(document).ready(function() { > [% END %] > </p> > [% END %] >+ >+ [% IF checkout_info.issue.date_due %] >+ <li>Due on [% checkout_info.issue.date_due | $KohaDates %]</li> >+ [% END %] > </td> > </tr> > [% END %] >-- >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 15919
:
51114
|
51115
|
51272