From 20a4945d216016cfc10a75f4d63b241858e09856 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Wed, 9 Dec 2015 16:58:32 +0100 Subject: [PATCH] Bug 12993: Add gstrate in itemtypes form and table --- C4/Koha.pm | 1 + admin/itemtypes.pl | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/C4/Koha.pm b/C4/Koha.pm index 7476106..0237df2 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -257,6 +257,7 @@ sub GetItemTypes { itemtypes.itemtype, itemtypes.description, itemtypes.rentalcharge, + itemtypes.gstrate, itemtypes.notforloan, itemtypes.imageurl, itemtypes.summary, diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl index f393b56..c69899a 100755 --- a/admin/itemtypes.pl +++ b/admin/itemtypes.pl @@ -93,6 +93,7 @@ if ( $op eq 'add_form' ) { itemtypes.itemtype, itemtypes.description, itemtypes.rentalcharge, + itemtypes.gstrate, itemtypes.notforloan, itemtypes.imageurl, itemtypes.summary, @@ -297,7 +298,6 @@ if ( $op eq 'list' ) { push( @loop, $itemtype ); } - $template->param( loop => \@loop, else => 1, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt index 2a744d2..886a72d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt @@ -1,4 +1,5 @@ [% USE AuthorisedValues %] +[% USE Koha %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Item types [% IF ( add_form ) %]› [% IF ( itemtype ) %] -- 1.7.10.4