Amlioration et traduction du rapport des paiements
This commit is contained in:
parent
d2667a5204
commit
693d67611b
@ -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();
|
||||
|
||||
@ -162,6 +162,7 @@ Seconds=Seconds
|
||||
Today=Today
|
||||
Yesterday=Yesterday
|
||||
Tomorrow=Tomorrow
|
||||
Bytes=Bytes
|
||||
Cut=Cut
|
||||
Copy=Copy
|
||||
Paste=Paste
|
||||
|
||||
@ -162,6 +162,7 @@ Seconds=Secondes
|
||||
Today=Aujourd'hui
|
||||
Yesterday=Hier
|
||||
Tomorrow=Demain
|
||||
Bytes=Octets
|
||||
Cut=Couper
|
||||
Copy=Copier
|
||||
Paste=Coller
|
||||
|
||||
Loading…
Reference in New Issue
Block a user