From 53388ce999d9cc06312a1e5b72e78dd2d4e3e10b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 26 Apr 2003 16:33:32 +0000 Subject: [PATCH] Changement de largeur de la premiere colonne --- .../includes/modules/rapport/pdf_paiement.class.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/includes/modules/rapport/pdf_paiement.class.php b/htdocs/includes/modules/rapport/pdf_paiement.class.php index eabe3983e61..393c3c47a10 100644 --- a/htdocs/includes/modules/rapport/pdf_paiement.class.php +++ b/htdocs/includes/modules/rapport/pdf_paiement.class.php @@ -72,8 +72,8 @@ Class pdf_paiement { $pdf->Text(11,$this->tab_top + 6,'Facture'); - $pdf->line(50, $this->tab_top, 50, $this->tab_top + $this->tab_height + 10); - $pdf->Text(52, $this->tab_top + 6,'Date'); + $pdf->line(40, $this->tab_top, 40, $this->tab_top + $this->tab_height + 10); + $pdf->Text(42, $this->tab_top + 6,'Date'); $pdf->line(80, $this->tab_top, 80, $this->tab_top + $this->tab_height + 10); $pdf->Text(82, $this->tab_top + 6,'Type paiement'); @@ -99,10 +99,10 @@ Class pdf_paiement { $pdf->SetFillColor(220,220,220); $pdf->SetXY (10, $this->tab_top + 10 + ($i * $this->line_height) ); - $pdf->MultiCell(40, $this->line_height, $lines[$j][0], 0, 'J', 0); + $pdf->MultiCell(30, $this->line_height, $lines[$j][0], 0, 'J', 0); - $pdf->SetXY (50, $this->tab_top + 10 + ($i * $this->line_height) ); - $pdf->MultiCell(30, $this->line_height, $lines[$j][1], 0, 'J', 0); + $pdf->SetXY (40, $this->tab_top + 10 + ($i * $this->line_height) ); + $pdf->MultiCell(40, $this->line_height, $lines[$j][1], 0, 'J', 0); $pdf->SetXY (80, $this->tab_top + 10 + ($i * $this->line_height) ); $pdf->MultiCell(40, $this->line_height, $lines[$j][2], 0, 'J', 0); @@ -139,7 +139,7 @@ Class pdf_paiement { $sql = "SELECT ".$this->db->pdate("p.datep")." as dp, p.amount, f.amount as fa_amount, f.facnumber"; $sql .=", f.rowid as facid, c.libelle as paiement_type, p.num_paiement"; $sql .= " FROM llx_paiement as p, llx_facture as f, c_paiement as c"; - $sql .= " WHERE p.fk_facture = f.rowid AND p.fk_paiement = c.id ORDER BY p.rowid DESC"; + $sql .= " WHERE p.fk_facture = f.rowid AND p.fk_paiement = c.id ORDER BY p.datep ASC"; $result = $this->db->query($sql); if ($result)