Fix: We must use shipping address and not the invoice address
This commit is contained in:
parent
9614881bed
commit
185c03eea5
@ -491,9 +491,9 @@ Class pdf_expedition_rouget extends ModelePdfExpedition
|
||||
$pdf->MultiCell(80, 4, $carac_emetteur, 0, 'L');
|
||||
|
||||
|
||||
// If CUSTOMER contact defined, we use it
|
||||
// If SHIPPING contact defined, we use it
|
||||
$usecontact=false;
|
||||
$arrayidcontact=$object->getIdContact('external','CUSTOMER');
|
||||
$arrayidcontact=$object->getIdContact('external','SHIPPING');
|
||||
if (count($arrayidcontact) > 0)
|
||||
{
|
||||
$usecontact=true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user