Added due date in providers invoices list (just as clients invoices list)

This commit is contained in:
ywarnier 2008-05-17 06:00:53 +00:00
parent ef0ced5b2c
commit d851def83f

View File

@ -158,6 +158,7 @@ if ($resql)
print_liste_field_titre($langs->trans("Ref"),"index.php","fac.rowid","&socid=$socid","","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("RefSupplier"),"index.php","facnumber","&socid=$socid","","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Date"),"index.php","fac.datef","&socid=$socid","",'align="center"',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("DateEcheance"),"index.php","fac.date_lim_reglement","&socid=$socid","",'align="center"',$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Label"),"index.php","fac.libelle","&socid=$socid","","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("Company"),"index.php","s.nom","&socid=$socid","","",$sortfield,$sortorder);
print_liste_field_titre($langs->trans("AmountHT"),"index.php","fac.total_ht","&socid=$socid","",'align="right"',$sortfield,$sortorder);
@ -175,6 +176,7 @@ if ($resql)
print '<input class="flat" size="8" type="text" name="search_ref_supplier" value="'.$_REQUEST["search_ref_supplier"].'">';
print '</td>';
print '<td class="liste_titre">&nbsp;</td>';
print '<td class="liste_titre">&nbsp;</td>';
print '<td class="liste_titre" align="left">';
print '<input class="flat" size="16" type="text" name="search_libelle" value="'.$_GET["search_libelle"].'">';
print '</td>';
@ -209,6 +211,7 @@ if ($resql)
print "</td>\n";
print '<td nowrap>'.dolibarr_trunc($obj->facnumber,10)."</td>";
print '<td align="center" nowrap="1">'.dolibarr_print_date($obj->datef,'day').'</td>';
print '<td align="center" nowrap="1">'.dolibarr_print_date($obj->date_echeance,'day').'</td>';
print '<td>'.dolibarr_trunc($obj->libelle,36).'</td>';
print '<td>';
$supplierstatic->id=$obj->socid;