From 162950e6fa2b7b7061a99866a6d0d8beab12f1d9 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 21 Jul 2010 20:44:02 +0000 Subject: [PATCH] Qual: Normalize code --- .../compta/export/class/ComptaJournalPaiement.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/compta/export/class/ComptaJournalPaiement.class.php b/htdocs/compta/export/class/ComptaJournalPaiement.class.php index 2d64093a08c..7001882afcd 100644 --- a/htdocs/compta/export/class/ComptaJournalPaiement.class.php +++ b/htdocs/compta/export/class/ComptaJournalPaiement.class.php @@ -195,7 +195,7 @@ class ComptaJournalPaiement $facnumber = $obj->increment; } - $this->_print_ligne($this->db->jdate($obj->dp), $facnumber, '41100000', $s, $credit, $debit); + $this->printLine($this->db->jdate($obj->dp), $facnumber, '41100000', $s, $credit, $debit); if ($obj->amount >= 0) { @@ -213,7 +213,7 @@ class ComptaJournalPaiement } $s = $socnom . ' '.$libelle; - $this->_print_ligne($this->db->jdate($obj->dp), $facnumber, '5122000', $s, $credit, $debit); + $this->printLine($this->db->jdate($obj->dp), $facnumber, '5122000', $s, $credit, $debit); $i++; } @@ -260,10 +260,10 @@ class ComptaJournalPaiement } } - /* + /** * */ - Function _print_ligne($a, $b, $c, $d, $e, $f) + function printLine($a, $b, $c, $d, $e, $f) { $this->pdf->cell(16,$this->hligne, strftime('%d%m%y',$a)); $this->pdf->cell(20,$this->hligne, $b);