Merge pull request #470 from atm-maxime/develop
Fix : internal contact not displayed in rouget PDF
This commit is contained in:
commit
2607a8a3dd
@ -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