From 2d51f52da1162d5d2fbdc5ca90525a147e9580d1 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 30 Nov 2014 23:26:10 +0100 Subject: [PATCH] Sold : correct amount in summary --- include/class_acc_ledger_sold.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/class_acc_ledger_sold.php b/include/class_acc_ledger_sold.php index 1c5a44b64..f7263a05a 100644 --- a/include/class_acc_ledger_sold.php +++ b/include/class_acc_ledger_sold.php @@ -818,7 +818,7 @@ class Acc_Ledger_Sold extends Acc_Ledger { {$tot_amount} - {$tot_amount} + {$tot} EOF; @@ -833,7 +833,7 @@ EOF; if ($g_parameter->MY_TVA_USE == 'Y') { $r.=''; $r.=''; - $r.=td(hb(nbm($tot_amount) ),'class="num"'); + $r.=td(hb($tot_amount ),'class="num"'); foreach ($tva as $i => $value) { $oTva->set_parameter('id', $i); $oTva->load(); @@ -841,8 +841,8 @@ EOF; $r.=''; $r.=td(hb(nbm($tva[$i])),'class="num"'); } - $r.=''.td(_('Total TVA')).td(hb(nbm($tot_tva)),'class="num"'); - $r.=''.td(_('Total TVAC')).td(hb(nbm($tot)),'class="num"'); + $r.=''.td(_('Total TVA')).td(hb($tot_tva),'class="num"'); + $r.=''.td(_('Total TVAC')).td(hb($tot),'class="num"'); $r.='
Total HTVA
TVA ' . $oTva->get_parameter('label').'
'; } else { $r.='
Total '.hb(nbm($tot));