Code comment

This commit is contained in:
Laurent Destailleur 2023-11-18 12:27:32 +01:00
parent 6227580bda
commit f02a9d17eb

View File

@ -1187,7 +1187,7 @@ class SupplierProposal extends CommonObject
{
global $conf;
$sql = "SELECT p.rowid, p.entity, p.ref, p.fk_soc";
$sql = "SELECT p.rowid, p.entity, p.ref, p.fk_soc as socid";
$sql .= ", p.total_ttc, p.total_tva, p.localtax1, p.localtax2, p.total_ht";
$sql .= ", p.datec";
$sql .= ", p.date_valid as datev";
@ -1230,7 +1230,7 @@ class SupplierProposal extends CommonObject
$this->total_localtax1 = $obj->localtax1;
$this->total_localtax2 = $obj->localtax2;
$this->total_ttc = $obj->total_ttc;
$this->socid = $obj->fk_soc;
$this->socid = $obj->socid;
$this->fk_project = $obj->fk_project;
$this->model_pdf = $obj->model_pdf;
$this->note = $obj->note_private; // TODO deprecated