Fix: Le tri est sur la date d'chance
This commit is contained in:
parent
09d36f5d79
commit
ba48db528a
@ -53,7 +53,7 @@ $offset = $limit * $page ;
|
||||
$pageprev = $page - 1;
|
||||
$pagenext = $page + 1;
|
||||
if (! $sortorder) $sortorder="DESC";
|
||||
if (! $sortfield) $sortfield="fac.datef";
|
||||
if (! $sortfield) $sortfield="fac.date_lim_reglement";
|
||||
|
||||
|
||||
/*
|
||||
@ -154,7 +154,7 @@ if ($resql)
|
||||
print '<table class="liste" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
print_liste_field_titre($langs->trans("Ref"),"index.php","facnumber","&socid=$socid","","",$sortfield);
|
||||
print_liste_field_titre($langs->trans("DateEcheance"),"index.php","fac.datef","&socid=$socid","","",$sortfield);
|
||||
print_liste_field_titre($langs->trans("DateEcheance"),"index.php","fac.date_lim_reglement","&socid=$socid","","",$sortfield);
|
||||
print_liste_field_titre($langs->trans("Label"),"index.php","fac.libelle","&socid=$socid","","",$sortfield);
|
||||
print_liste_field_titre($langs->trans("Company"),"index.php","s.nom","&socid=$socid","","",$sortfield);
|
||||
print_liste_field_titre($langs->trans("AmountHT"),"index.php","fac.total_ht","&socid=$socid","",'align="right"',$sortfield);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user