Skip to content

Commit

Permalink
report_order: Fix total amount on ProdUf anf Prod
Browse files Browse the repository at this point in the history
  • Loading branch information
jorix committed Jan 10, 2017
1 parent 5dc82e6 commit 5d93eb5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions php/lib/report_orders.php
Expand Up @@ -485,11 +485,6 @@ protected function getHtml_orderProdUfSel($order_id, $provider_id, $date_for_ord
}
$info_product['_sum_order_q'] += $row['order_quantity'];
$info_product['_sum_current_q'] += $row['current_quantity'];
$info_order['_sum_amount'] += $this->amount(
$row['current_quantity'],
$row['cost_price'],
$row['final_price']
);
if ($detail || $info_product['orderable_type_id'] == 3) {
$info_product['_body'] .= $this->t_data_row(2, false,
"{$row['uf_name']} {$Text['uf_short']}-{$row['uf_id']}",
Expand Down

0 comments on commit 5d93eb5

Please sign in to comment.