Commit 6fa415d7 authored by Hamza Arfaoui's avatar Hamza Arfaoui

CAFI168

parent a021c192
...@@ -27,6 +27,7 @@ ca_statistiques ( ...@@ -27,6 +27,7 @@ ca_statistiques (
civ, civ,
nom, nom,
prenom, prenom,
matricule,
partpro, partpro,
cancelled".$additionnalColumns." cancelled".$additionnalColumns."
) )
...@@ -46,6 +47,7 @@ SELECT id_client, ...@@ -46,6 +47,7 @@ SELECT id_client,
civ, civ,
nom, nom,
prenom, prenom,
matricule,
partpro, partpro,
cancelled".$additionnalColumns." cancelled".$additionnalColumns."
FROM ca_clients"; FROM ca_clients";
......
...@@ -33,9 +33,9 @@ $additionnalColumns = ($GLOBALS["BORNE_CONF"]["FIELDS"]["PHONE"] && $GLOBALS["BO ...@@ -33,9 +33,9 @@ $additionnalColumns = ($GLOBALS["BORNE_CONF"]["FIELDS"]["PHONE"] && $GLOBALS["BO
$q = "INSERT INTO ca_historique_clients (id_client, id_agence, date_arrivee, date_priseencharge, date_cloture, rdv, partpro, rdv_type, id_conseiller, entite, $q = "INSERT INTO ca_historique_clients (id_client, id_agence, date_arrivee, date_priseencharge, date_cloture, rdv, partpro, rdv_type, id_conseiller, entite,
nbr, civ, nom, prenom, nfcprov, client, id_action, id_borne, cancelled".$additionnalColumns.") nbr, civ, nom, prenom, matricule, nfcprov, client, id_action, id_borne, cancelled".$additionnalColumns.")
SELECT id_client, id_agence, date_arrivee, date_priseencharge, date_cloture, rdv, partpro, rdv_type, id_conseiller, entite, SELECT id_client, id_agence, date_arrivee, date_priseencharge, date_cloture, rdv, partpro, rdv_type, id_conseiller, entite,
nbr, civ, nom, prenom, nfcprov, client, id_action, id_borne, cancelled".$additionnalColumns." nbr, civ, nom, prenom, matricule, nfcprov, client, id_action, id_borne, cancelled".$additionnalColumns."
FROM ca_clients ORDER BY id_client ASC"; FROM ca_clients ORDER BY id_client ASC";
$r = excuteQuery($q); $r = excuteQuery($q);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment