Bugzilla – Attachment 51114 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), 1.95 KB, created by
Jonathan Druart
on 2016-05-02 19:22:04 UTC
(
hide
)
Description:
Bug 15919: Batch checkout - Display the due date
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-02 19:22:04 UTC
Size:
1.95 KB
patch
obsolete
>From 146996a0f46c6bc75ef940850aa5347052d620cc 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 > >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. >--- > circ/circulation.pl | 2 +- > .../intranet-tmpl/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 %] >-- >2.7.0
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