From f24a27654c62c2036b06dc58241e5b770eeca58e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 21 Sep 2018 11:40:16 +0100 Subject: [PATCH] Bug 9775: Unitprice should be hidden when creating an order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The actual cost box is effectively hidden from the order page. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Séverine QUEUNE --- acqui/neworderempty.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 9 --------- 2 files changed, 11 deletions(-) diff --git a/acqui/neworderempty.pl b/acqui/neworderempty.pl index 968ceec..2705b3b 100755 --- a/acqui/neworderempty.pl +++ b/acqui/neworderempty.pl @@ -371,7 +371,6 @@ if ( defined $from_subscriptionid ) { $data->{replacementprice} = $lastOrderReceived->{replacementprice}; $data->{ecost} = $lastOrderReceived->{ecost}; $data->{quantity} = $lastOrderReceived->{quantity}; - $data->{unitprice} = $lastOrderReceived->{unitprice}; $data->{order_internalnote} = $lastOrderReceived->{order_internalnote}; $data->{order_vendornote} = $lastOrderReceived->{order_vendornote}; $data->{sort1} = $lastOrderReceived->{sort1}; @@ -458,7 +457,6 @@ $template->param( listprice => sprintf( "%.2f", $data->{listprice} || $data->{price} || $listprice), total => sprintf( "%.2f", ($data->{ecost} || 0) * ($data->{'quantity'} || 0) ), ecost => sprintf( "%.2f", $data->{ecost} || 0), - unitprice => sprintf( "%.2f", $data->{unitprice} || 0), publishercode => $data->{'publishercode'}, barcode_subfield => $barcode_subfield, import_batch_id => $import_batch_id, 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 ee4b764..dae5b24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -455,15 +455,6 @@ (budgeted cost * quantity)
  • - [% IF ( close ) %] - - [% IF (invoiceincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] - [% ELSE %] - - [% IF (invoiceincgst == 1) %](tax inc.)[% ELSE %](tax exc.)[% END %] - [% END %] -
  • -
  • -- 2.1.4