Display customer code (according setting) into list
This commit is contained in:
parent
0d2a019c3f
commit
53f01685e3
@ -187,7 +187,7 @@ if ($socname)
|
|||||||
*/
|
*/
|
||||||
$title=$langs->trans("ListOfThirdParties");
|
$title=$langs->trans("ListOfThirdParties");
|
||||||
|
|
||||||
$sql = "SELECT s.rowid, s.nom as name, s.barcode, s.town, s.datec, s.datea,";
|
$sql = "SELECT s.rowid, s.nom as name, s.barcode, s.town, s.datec, s.datea, s.code_client, s.code_fournisseur, ";
|
||||||
$sql.= " st.libelle as stcomm, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status,";
|
$sql.= " st.libelle as stcomm, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status,";
|
||||||
$sql.= " s.siren as idprof1, s.siret as idprof2, ape as idprof3, idprof4 as idprof4";
|
$sql.= " s.siren as idprof1, s.siret as idprof2, ape as idprof3, idprof4 as idprof4";
|
||||||
// We'll need these fields in order to filter by sale (including the case where the user can only see his prospects)
|
// We'll need these fields in order to filter by sale (including the case where the user can only see his prospects)
|
||||||
@ -408,6 +408,9 @@ if ($resql)
|
|||||||
$companystatic->canvas=$obj->canvas;
|
$companystatic->canvas=$obj->canvas;
|
||||||
$companystatic->client=$obj->client;
|
$companystatic->client=$obj->client;
|
||||||
$companystatic->status=$obj->status;
|
$companystatic->status=$obj->status;
|
||||||
|
$companystatic->fournisseur=$obj->fournisseur;
|
||||||
|
$companystatic->code_client=$obj->code_client;
|
||||||
|
$companystatic->code_fournisseur=$obj->code_fournisseur;
|
||||||
print $companystatic->getNomUrl(1,'',100);
|
print $companystatic->getNomUrl(1,'',100);
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
// Barcode
|
// Barcode
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user