From 37a5adc315dc6c5e40dc3cd64720344ee536849c 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 Signed-off-by: Katrin Fischer --- 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 968ceece65..2705b3baae 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 ee4b764741..dae5b24b05 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.11.0