From cbe98bfbb8784788b5b434feb8107b3e3f61a9ca Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 13 Oct 2014 10:32:18 +0200 Subject: [PATCH 3/3] Bug 12993: Select automatically itemtype on neworderempty.pl Signed-off-by: Paola Rossi --- acqui/neworderempty.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 256175a..57af3fc 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -396,6 +396,7 @@ $template->param( ecost => sprintf( "%.2f", $data->{ecost} || 0), unitprice => sprintf( "%.2f", $data->{unitprice} || 0), publishercode => $data->{'publishercode'}, + itype => $data->{itemtype}, barcode_subfield => $barcode_subfield, import_batch_id => $import_batch_id, subscriptionid => $subscriptionid, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index ffd903d..55b9b9f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -353,7 +353,7 @@ $(document).ready(function() Item type: