suppression php_self
This commit is contained in:
parent
4b806c796f
commit
45f9ece064
@ -68,7 +68,7 @@ if ($_GET["id"])
|
|||||||
$sortfield="p.datep";
|
$sortfield="p.datep";
|
||||||
}
|
}
|
||||||
|
|
||||||
print_barre_liste("Propositions commerciales",$page,$PHP_SELF,"&id=$product->id",$sortfield,$sortorder);
|
print_barre_liste("Propositions commerciales",$page,"propal.php","&id=$product->id",$sortfield,$sortorder);
|
||||||
|
|
||||||
$sql = "SELECT distinct(p.rowid), s.nom,s.idp, p.ref,".$db->pdate("p.datep")." as df,p.rowid as facid";
|
$sql = "SELECT distinct(p.rowid), s.nom,s.idp, p.ref,".$db->pdate("p.datep")." as df,p.rowid as facid";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."propal as p, ".MAIN_DB_PREFIX."propaldet as d WHERE p.fk_soc = s.idp";
|
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."propal as p, ".MAIN_DB_PREFIX."propaldet as d WHERE p.fk_soc = s.idp";
|
||||||
@ -86,9 +86,9 @@ if ($_GET["id"])
|
|||||||
print '<TR class="liste_titre">';
|
print '<TR class="liste_titre">';
|
||||||
print '<TD>Numéro</TD>';
|
print '<TD>Numéro</TD>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print_liste_field_titre("Société",$PHP_SELF,"s.nom","","&socidp=$socidp");
|
print_liste_field_titre("Société","propal.php","s.nom","","&id=$product->id&socidp=$socidp");
|
||||||
print '</td><TD align="right">';
|
print '</td><TD align="right">';
|
||||||
print_liste_field_titre("Date",$PHP_SELF,"f.datef","","&socidp=$socidp");
|
print_liste_field_titre("Date","propal.php","f.datef","","&id=$product->id&socidp=$socidp");
|
||||||
print '</td>';
|
print '</td>';
|
||||||
print "</TR>\n";
|
print "</TR>\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user