Bugfix
This commit is contained in:
parent
58c6ada564
commit
73bd8a10c1
@ -26,30 +26,16 @@ if ($user->distributeur_id)
|
|||||||
$_GET["id"] = $user->distributeur_id;
|
$_GET["id"] = $user->distributeur_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
llxHeader();
|
||||||
|
|
||||||
|
|
||||||
$page = $_GET["page"];
|
$page = $_GET["page"];
|
||||||
$sortorder = $_GET["sortorder"];
|
$sortorder = $_GET["sortorder"];
|
||||||
$sortfield = $_GET["sortfield"];
|
$sortfield = $_GET["sortfield"];
|
||||||
|
if ($sortorder == "") $sortorder="DESC";
|
||||||
llxHeader();
|
if ($sortfield == "") $sortfield="p.datepo";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sécurité accés client
|
|
||||||
*/
|
|
||||||
if ($user->societe_id > 0)
|
|
||||||
{
|
|
||||||
$action = '';
|
|
||||||
$socidp = $user->societe_id;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($sortorder == "") {
|
|
||||||
$sortorder="DESC";
|
|
||||||
}
|
|
||||||
if ($sortfield == "") {
|
|
||||||
$sortfield="p.datepo";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Recherche
|
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -118,9 +104,8 @@ if ($_GET["id"])
|
|||||||
|
|
||||||
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print_liste_field_titre("Client","po.php","s.nom");
|
print_liste_field_titre("Client","po.php","s.nom","","&id=".$_GET["id"]);
|
||||||
|
print_liste_field_titre("Contrat","po.php","p.fk_contrat","","&id=".$_GET["id"]);
|
||||||
print_liste_field_titre("Contrat","po.php","l.ligne");
|
|
||||||
print '<td align="center">Date</td><td align="right">Montant</td>';
|
print '<td align="center">Date</td><td align="right">Montant</td>';
|
||||||
print '<td align="center">Avance Durée</td><td>Avance %</td>';
|
print '<td align="center">Avance Durée</td><td>Avance %</td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user