MAIN_ADD_SALE_REP_SIGNATURE_IN_NOTE does not works as it needs the add
contact manually. Quick hack added to use the creator instead.
This commit is contained in:
parent
da92be1a9f
commit
52fac193ad
@ -374,6 +374,14 @@ class pdf_azur extends ModelePDFPropales
|
|||||||
if (! empty($salerepobj->signature)) $notetoshow=dol_concatdesc($notetoshow, $salerepobj->signature);
|
if (! empty($salerepobj->signature)) $notetoshow=dol_concatdesc($notetoshow, $salerepobj->signature);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (! empty($conf->global->MAIN_ADD_CREATOR_IN_NOTE) && $object->user_author_id > 0)
|
||||||
|
{
|
||||||
|
$tmpuser=new User($this->db);
|
||||||
|
$tmpuser->fetch($object->user_author_id);
|
||||||
|
$notetoshow.='Affaire suivi par '.$tmpuser->getFullName($langs);
|
||||||
|
if ($tmpuser->email) $notetoshow.=', Mail: '.$tmpuser->email;
|
||||||
|
if ($tmpuser->office_phone) $notetoshow.=', Tel: '.$tmpuser->office_phone;
|
||||||
|
}
|
||||||
if ($notetoshow)
|
if ($notetoshow)
|
||||||
{
|
{
|
||||||
$tab_top = 88 + $height_incoterms;
|
$tab_top = 88 + $height_incoterms;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user