Amélioration 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)
|
if ($result < 0)
|
||||||
{
|
{
|
||||||
$this->error=$langs->trans("ErrorCanNotCreateDir",$dir);
|
$this->error=$langs->trans("ErrorCanNotCreateDir",$dir);
|
||||||
return;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$month = substr("0".$month, strlen("0".$month)-2,2);
|
$month = sprintf("%02d",$month);
|
||||||
$_file = $dir . "/paiements-$month-$year" . ".pdf";
|
$year = sprintf("%04d",$year);
|
||||||
|
$_file = $dir . "/payments-".$month."-".$year.".pdf";
|
||||||
|
|
||||||
$pdf = new FPDF('P','mm','A4');
|
$pdf = new FPDF('P','mm','A4');
|
||||||
$pdf->Open();
|
$pdf->Open();
|
||||||
|
|||||||
@ -162,6 +162,7 @@ Seconds=Seconds
|
|||||||
Today=Today
|
Today=Today
|
||||||
Yesterday=Yesterday
|
Yesterday=Yesterday
|
||||||
Tomorrow=Tomorrow
|
Tomorrow=Tomorrow
|
||||||
|
Bytes=Bytes
|
||||||
Cut=Cut
|
Cut=Cut
|
||||||
Copy=Copy
|
Copy=Copy
|
||||||
Paste=Paste
|
Paste=Paste
|
||||||
|
|||||||
@ -162,6 +162,7 @@ Seconds=Secondes
|
|||||||
Today=Aujourd'hui
|
Today=Aujourd'hui
|
||||||
Yesterday=Hier
|
Yesterday=Hier
|
||||||
Tomorrow=Demain
|
Tomorrow=Demain
|
||||||
|
Bytes=Octets
|
||||||
Cut=Couper
|
Cut=Couper
|
||||||
Copy=Copier
|
Copy=Copier
|
||||||
Paste=Coller
|
Paste=Coller
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user