From b8372807ea0fca50355902c9819262addb8ccfe7 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 17 Oct 2022 17:02:39 +0000 Subject: [PATCH] Bug 31671: Add print slip button to transfer page To test: 1. Apply patch 2. Go to Circulation / Transfer 3. Try transfering some items and notice the 'Print transfer slip' button 4. Try clicking on it and make sure it generates correctly and with the correct information on the slip --- .../prog/en/modules/circ/branchtransfers.tt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index 526b8a85a4..cc0621da20 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -2,6 +2,7 @@ [% USE Branches %] [% USE ItemTypes %] [% USE AuthorisedValues %] +[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Transfers › Circulation › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -209,6 +210,7 @@ Collection Origin Destination + Print transfer slip [% FOREACH trsfitemloo IN trsfitemloop %] @@ -224,6 +226,7 @@ [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => trsfitemloo.item.ccode ) | html %] [% Branches.GetName( trsfitemloo.frombrcd ) | html %] [% Branches.GetName( trsfitemloo.tobrcd ) | html %] + [% END %] @@ -242,5 +245,14 @@ [% END %] - +[% MACRO jsinclude BLOCK %] + +[% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.30.2