Amlioration et traduction du rapport des paiements

This commit is contained in:
Laurent Destailleur 2006-10-21 16:01:43 +00:00
parent d2667a5204
commit 693d67611b
3 changed files with 6 additions and 4 deletions

View File

@ -177,13 +177,13 @@ class pdf_paiement
if ($result < 0)
{
$this->error=$langs->trans("ErrorCanNotCreateDir",$dir);
return;
return -1;
}
}
$month = substr("0".$month, strlen("0".$month)-2,2);
$_file = $dir . "/paiements-$month-$year" . ".pdf";
$month = sprintf("%02d",$month);
$year = sprintf("%04d",$year);
$_file = $dir . "/payments-".$month."-".$year.".pdf";
$pdf = new FPDF('P','mm','A4');
$pdf->Open();

View File

@ -162,6 +162,7 @@ Seconds=Seconds
Today=Today
Yesterday=Yesterday
Tomorrow=Tomorrow
Bytes=Bytes
Cut=Cut
Copy=Copy
Paste=Paste

View File

@ -162,6 +162,7 @@ Seconds=Secondes
Today=Aujourd'hui
Yesterday=Hier
Tomorrow=Demain
Bytes=Octets
Cut=Couper
Copy=Copier
Paste=Coller