Skip to content
Snippets Groups Projects
Commit 2607a8a3 authored by Regis Houssin's avatar Regis Houssin
Browse files

Merge pull request #470 from atm-maxime/develop

Fix : internal contact not displayed in rouget PDF
parents 0e0bbbed 240d310a
No related branches found
No related tags found
No related merge requests found
......@@ -542,7 +542,7 @@ class pdf_expedition_rouget extends ModelePdfExpedition
// Sender properties
$carac_emetteur='';
// Add internal contact of proposal if defined
$arrayidcontact=$object->getIdContact('internal','SALESREPFOLL');
$arrayidcontact=$object->$origin->getIdContact('internal','SALESREPFOLL');
if (count($arrayidcontact) > 0)
{
$object->fetch_user($arrayidcontact[0]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment