mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 03:12:35 +01:00
Merge pull request #470 from atm-maxime/develop
Fix : internal contact not displayed in rouget PDF
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user