From 9fdbd1865e510e650daafdf9d96ee08a8da72dda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick?= 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 --- .../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"); [% END %] +[% IF ( RESERVED ) %] +
+ + +
+[% END %] + +[% IF ( RESERVE_WAITING ) %] +
+ + +
+[% END %] +
-- 1.7.10.4