From 4258d2aee31ce43be778f9bb8f809cf1ed0060ec Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 11 Feb 2011 19:54:19 +0000 Subject: [PATCH] =?UTF-8?q?Ledger=20:=20Achat=20detaill=C3=A9=20:=20pr?= =?UTF-8?q?=C3=A9sentation=20nombre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/class_print_ledger_detail.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_print_ledger_detail.php b/include/class_print_ledger_detail.php index 25fe7b8a4..48fcf3f3c 100644 --- a/include/class_print_ledger_detail.php +++ b/include/class_print_ledger_detail.php @@ -97,7 +97,7 @@ class Print_Ledger_Detail extends PDF $this->Cell(15,7,$row['date_fmt']); $this->Cell(20,7,$row['internal']); $this->Cell(170,7,$row['comment']); - $this->Cell(20,7,$row['montant'],0,0,'R'); + $this->Cell(20,7,nbm($row['montant']),0,0,'R'); $this->Ln(4); // get the entries @@ -129,7 +129,7 @@ class Print_Ledger_Detail extends PDF $this->Cell(150,6,$name,0,0,'L'); // print amount - $str_amount=sprintf('%10.2f',$entry['j_montant']); + $str_amount=nbm($entry['j_montant']); if ( $entry['j_debit']=='t') { $this->Cell(20,6,$str_amount,0,0,'R');