Fix : shipment PDF rouget wasn't using the right var to access related internal contact
This commit is contained in:
parent
64d8d558a5
commit
240d310a7f
@ -542,7 +542,7 @@ class pdf_expedition_rouget extends ModelePdfExpedition
|
|||||||
// Sender properties
|
// Sender properties
|
||||||
$carac_emetteur='';
|
$carac_emetteur='';
|
||||||
// Add internal contact of proposal if defined
|
// Add internal contact of proposal if defined
|
||||||
$arrayidcontact=$object->getIdContact('internal','SALESREPFOLL');
|
$arrayidcontact=$object->$origin->getIdContact('internal','SALESREPFOLL');
|
||||||
if (count($arrayidcontact) > 0)
|
if (count($arrayidcontact) > 0)
|
||||||
{
|
{
|
||||||
$object->fetch_user($arrayidcontact[0]);
|
$object->fetch_user($arrayidcontact[0]);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user