Fix: Bad link if not supplier defined for product
This commit is contained in:
parent
9ecb1ddcb4
commit
eecfbf9670
@ -231,7 +231,9 @@ if ($resql)
|
|||||||
|
|
||||||
$companystatic->nom=$objp->nom;
|
$companystatic->nom=$objp->nom;
|
||||||
$companystatic->id=$objp->socid;
|
$companystatic->id=$objp->socid;
|
||||||
print '<td>'.$companystatic->getNomUrl(1,'supplier').'</td>';
|
print '<td>';
|
||||||
|
if ($companystatic->id > 0) print $companystatic->getNomUrl(1,'supplier');
|
||||||
|
print '</td>';
|
||||||
|
|
||||||
print '<td align="right">'.price($objp->price).'</td>';
|
print '<td align="right">'.price($objp->price).'</td>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user