Skip to content
Snippets Groups Projects
Commit 87369393 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #1271 from braito4/patch-5

Update list.php
parents 692aa66c e89c3fa0
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ if (! $sortorder) $sortorder='DESC'; ...@@ -141,7 +141,7 @@ if (! $sortorder) $sortorder='DESC';
$limit = $conf->liste_limit; $limit = $conf->liste_limit;
$sql = 'SELECT s.rowid, s.nom, s.town, s.client, s.code_client'; $sql = 'SELECT s.rowid, s.nom, s.town, s.client, s.code_client,';
$sql.= ' p.rowid as propalid, p.note_private, p.total_ht, p.ref, p.ref_client, p.fk_statut, p.fk_user_author, p.datep as dp, p.fin_validite as dfv,'; $sql.= ' p.rowid as propalid, p.note_private, p.total_ht, p.ref, p.ref_client, p.fk_statut, p.fk_user_author, p.datep as dp, p.fin_validite as dfv,';
if (! $user->rights->societe->client->voir && ! $socid) $sql .= " sc.fk_soc, sc.fk_user,"; if (! $user->rights->societe->client->voir && ! $socid) $sql .= " sc.fk_soc, sc.fk_user,";
$sql.= ' u.login'; $sql.= ' u.login';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment