Ajout champs commercial_suiv dans fetch
This commit is contained in:
parent
66d1d37cc5
commit
c2a4732c2d
@ -219,10 +219,11 @@ class LigneTel {
|
|||||||
{
|
{
|
||||||
|
|
||||||
$sql = "SELECT rowid, fk_client_comm, fk_soc, fk_soc_facture, fk_fournisseur";
|
$sql = "SELECT rowid, fk_client_comm, fk_soc, fk_soc_facture, fk_fournisseur";
|
||||||
$sql .= " , ligne, remise, note, statut, fk_commercial, isfacturable";
|
$sql .= " , ligne, remise, note, statut, isfacturable";
|
||||||
$sql .= " , mode_paiement, fk_concurrent, code_analytique";
|
$sql .= " , mode_paiement, fk_concurrent, code_analytique";
|
||||||
$sql .= " , fk_user_creat, fk_user_commande";
|
$sql .= " , fk_user_creat, fk_user_commande";
|
||||||
$sql .= " , fk_contrat ";
|
$sql .= " , fk_contrat ";
|
||||||
|
$sql .= " , fk_commercial, fk_commercial_suiv";
|
||||||
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as tl";
|
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_societe_ligne as tl";
|
||||||
|
|
||||||
if ($id > 0)
|
if ($id > 0)
|
||||||
@ -250,6 +251,7 @@ class LigneTel {
|
|||||||
$this->client_facture_id = $obj->fk_soc_facture;
|
$this->client_facture_id = $obj->fk_soc_facture;
|
||||||
$this->fournisseur_id = $obj->fk_fournisseur;
|
$this->fournisseur_id = $obj->fk_fournisseur;
|
||||||
$this->commercial_id = $obj->fk_commercial;
|
$this->commercial_id = $obj->fk_commercial;
|
||||||
|
$this->commercial_suiv_id = $obj->fk_commercial_suiv;
|
||||||
$this->concurrent_id = $obj->fk_concurrent;
|
$this->concurrent_id = $obj->fk_concurrent;
|
||||||
$this->statut = $obj->statut;
|
$this->statut = $obj->statut;
|
||||||
$this->mode_paiement = $obj->mode_paiement;
|
$this->mode_paiement = $obj->mode_paiement;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user