Update document.php
This commit is contained in:
parent
bb6523b75d
commit
03bb395ad8
@ -256,11 +256,11 @@ if ($object->id > 0)
|
||||
$morehtmlref.='<br>';
|
||||
|
||||
// Third party
|
||||
if ($projectstatic->thirdparty->id > 0) {
|
||||
$morehtmlref .= $langs->trans("ThirdParty") . ': ';
|
||||
$morehtmlref .= $projectstatic->thirdparty->getNomUrl(1);
|
||||
$morehtmlref .= '</div>';
|
||||
}
|
||||
$morehtmlref .= $langs->trans("ThirdParty") . ': ';
|
||||
if (is_object($projectstatic->thirdparty) && $projectstatic->thirdparty->id > 0) {
|
||||
$morehtmlref .= $projectstatic->thirdparty->getNomUrl(1);
|
||||
}
|
||||
$morehtmlref .= '</div>';
|
||||
}
|
||||
|
||||
dol_banner_tab($object, 'ref', $linkback, 1, 'ref', 'ref', $morehtmlref, $param);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user