mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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
|
||||
$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]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user