Fix: Ref not visible into page

This commit is contained in:
Laurent Destailleur 2013-09-07 19:11:54 +02:00
parent 3a8784a6de
commit 1c62d2a475

View File

@ -269,7 +269,7 @@ if ($result > 0)
print '<tr '.$bc[$var].'>';
// Ref
print '<td><a href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?facid='.$objp->facid.'">'.img_object($langs->trans('ShowBill'),'bill').' ';
print $objp->ref;
print ($objp->ref?$objp->ref:$objp->rowid);
print "</a></td>\n";
// Ref supplier
print '<td>'.$objp->ref_supplier."</td>\n";