Jump to content

[Tuto] Intervertir les adresses dans les factures PDF


Recommended Posts

Voici comment intervertir l'adresse de Livraison et l'adresse de Facturation dans les fichier PDF (Facture, Bon de livraison,...)

 

Dans le fichier classes\PDF.php

 

A la ligne 573

 

$pdf->Cell($width, 10, self::l('Delivery'), 0, 'L');
$pdf->Cell($width, 10, self::l('Invoicing'), 0, 'L');
$pdf->Ln(5);
$pdf->SetFont(self::fontname(), '', 9);
$addressType = array(
 'delivery' => array(),
 'invoice' => array(),

 

Modifier comme ceci

 

 $pdf->Cell($width, 10, self::l('Invoicing'), 0, 'L');
 $pdf->Cell($width, 10, self::l('Delivery'), 0, 'L');
 $pdf->Ln(5);
 $pdf->SetFont(self::fontname(), '', 9);
 $addressType = array(
  'invoice' => array(),
  'delivery' => array(),

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...