Bugzilla – Attachment 25819 Details for
Bug 11882
Add a new button to the checkout confirmation dialog when checking out an on hold item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Add a "Don't Check Out and Print Slip" button to the dialog that appears when trying to checkout a reserved item.
Signed-off-Add-a-Dont-Check-Out-and-Print-Slip-but.patch (text/plain), 2.34 KB, created by
Marc Véron
on 2014-03-04 15:32:13 UTC
(
hide
)
Description:
[Signed-off] Add a "Don't Check Out and Print Slip" button to the dialog that appears when trying to checkout a reserved item.
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2014-03-04 15:32:13 UTC
Size:
2.34 KB
patch
obsolete
>From 9fdbd1865e510e650daafdf9d96ee08a8da72dda Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= <frederick.capovilla@libeo.com> >Date: Fri, 28 Feb 2014 17:21:01 -0500 >Subject: [PATCH] [Signed-off] Add a "Don't Check Out and Print Slip" button > to the dialog that appears when trying to checkout a > reserved item. >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >http://bugs.koha-community.org/show_bug.cgi?id=11882 > >This patch adds a "Don't Check Out and Print Slip" button to the dialog that appears > when trying to checkout a reserved item. > >Test case : >* Put a hold on an item for User A. >* Try to check out it item with User B. >* The "Please confirm checkout" box should appear. The "Don't Check Out and Print Slip" button should appear in this box. >* Click on the "Don't Check Out and Print Slip" button. >* You should be redirected to the "Check in" page, where a dialog will give you more informations on the hold, and let you print a reservation slip. > >Patch behaves as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > .../intranet-tmpl/prog/en/modules/circ/circulation.tt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >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 e667bc3..0c4873b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -321,6 +321,20 @@ var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); > </form> > [% END %] > >+[% IF ( RESERVED ) %] >+<form method="get" action="/cgi-bin/koha/circ/returns.pl"> >+ <input type="hidden" name="barcode" value="[% barcode %]" /> >+ <input type="submit" class="print" value="Don't Check Out and Print Slip (P)" accesskey="p" /> >+</form> >+[% END %] >+ >+[% IF ( RESERVE_WAITING ) %] >+<form method="get" action="/cgi-bin/koha/circ/returns.pl"> >+ <input type="hidden" name="barcode" value="[% barcode %]" /> >+ <input type="submit" class="print" value="Don't Check Out and Print Slip (P)" accesskey="p" /> >+</form> >+[% END %] >+ > <form method="get" action="/cgi-bin/koha/circ/circulation.pl"> > <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> > <input type="hidden" name="duedatespec" value="[% duedatespec %]" /> >-- >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 11882
:
25748
|
25819
|
31342
|
31400
|
33156
|
34420
|
34421
|
34605
|
35315
|
36195
|
36196
|
36197
|
36545
|
40692