fix facture date echeance for h2f (au compant )
This commit is contained in:
parent
1bd8fadb85
commit
56949686e0
@ -111,10 +111,8 @@ class InvoicePdfHandler extends FPDF {
|
||||
|
||||
$factureDatePaiement = $this->factureData['date_paiement'];
|
||||
$factureDatePaiement = DateTime::createFromFormat('Y-m-d',$factureDatePaiement);
|
||||
$factureDateEcheance = $factureDatePaiement;
|
||||
$factureDatePaiement = $factureDatePaiement->format('d-m-Y');
|
||||
$factureDateEcheance->modify('last day of next month');
|
||||
$factureDateEcheance = $factureDateEcheance->format('d-m-Y');
|
||||
$factureDateEcheance = $factureDatePaiement;
|
||||
$this->SetFont('Arial', 'B', 11);
|
||||
$this->Cell(30, 7, 'DATE', 1, 0, 'C');
|
||||
$this->Cell(80, 7, 'LIEU', 1, 0, 'C');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user