L'id de l'auteur de la facture fk_user_author n'était pas récupéré dans l'objet facture.
This commit is contained in:
parent
034d3c3bc7
commit
18b84d722e
@ -220,8 +220,8 @@ class FactureFourn
|
|||||||
{
|
{
|
||||||
|
|
||||||
$sql = "SELECT fk_soc,libelle,facnumber,amount,remise,".$this->db->pdate(datef)."as df";
|
$sql = "SELECT fk_soc,libelle,facnumber,amount,remise,".$this->db->pdate(datef)."as df";
|
||||||
$sql .= ", total_ht, total_tva, total_ttc";
|
$sql .= ", total_ht, total_tva, total_ttc, fk_user_author";
|
||||||
$sql .= " FROM llx_facture_fourn WHERE rowid=$rowid;";
|
$sql .= " FROM llx_facture_fourn as f WHERE f.rowid=$rowid;";
|
||||||
|
|
||||||
if ($this->db->query($sql) )
|
if ($this->db->query($sql) )
|
||||||
{
|
{
|
||||||
@ -241,6 +241,8 @@ class FactureFourn
|
|||||||
$this->total_tva = $obj->total_tva;
|
$this->total_tva = $obj->total_tva;
|
||||||
$this->total_ttc = $obj->total_ttc;
|
$this->total_ttc = $obj->total_ttc;
|
||||||
|
|
||||||
|
$this->author = $obj->fk_user_author;
|
||||||
|
|
||||||
$this->db->free();
|
$this->db->free();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user