Remove duplicate code
This commit is contained in:
parent
5a6db9c93e
commit
89d0a3f9af
@ -201,7 +201,10 @@ if ($resql)
|
|||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print '<td nowrap><a href="'.DOL_URL_ROOT.'/fourn/facture/fiche.php?facid='.$obj->facid.'" title="'.$obj->ref.'">'.img_object($langs->trans("ShowBill"),"bill").' '.$obj->ref."</a>";
|
print '<td nowrap>';
|
||||||
|
$facturestatic->id=$obj->facid;
|
||||||
|
$facturestatic->ref=$obj->facnumber;
|
||||||
|
print $facturestatic->getNomUrl(1);
|
||||||
if (($obj->paye == 0) && ($obj->fk_statut > 0) && $obj->date_echeance < (time() - $conf->facture->fournisseur->warning_delay)) print img_picto($langs->trans("Late"),"warning");
|
if (($obj->paye == 0) && ($obj->fk_statut > 0) && $obj->date_echeance < (time() - $conf->facture->fournisseur->warning_delay)) print img_picto($langs->trans("Late"),"warning");
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
print '<td nowrap>'.dolibarr_trunc($obj->facnumber,10)."</td>";
|
print '<td nowrap>'.dolibarr_trunc($obj->facnumber,10)."</td>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user