Qual: Uniformize code (ligne -> line)
This commit is contained in:
parent
5b96527805
commit
ad9c4c4217
@ -762,7 +762,7 @@ class Propal extends CommonObject
|
|||||||
*/
|
*/
|
||||||
function create_from($user)
|
function create_from($user)
|
||||||
{
|
{
|
||||||
$this->products=$this->lignes;
|
$this->products=$this->lines;
|
||||||
|
|
||||||
return $this->create();
|
return $this->create();
|
||||||
}
|
}
|
||||||
@ -956,7 +956,6 @@ class Propal extends CommonObject
|
|||||||
|
|
||||||
$this->db->free($resql);
|
$this->db->free($resql);
|
||||||
|
|
||||||
$this->lignes = array(); // TODO: deprecated
|
|
||||||
$this->lines = array();
|
$this->lines = array();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -1012,7 +1011,6 @@ class Propal extends CommonObject
|
|||||||
$line->product_desc = $objp->product_desc; // Description produit
|
$line->product_desc = $objp->product_desc; // Description produit
|
||||||
$line->ref = $objp->ref;
|
$line->ref = $objp->ref;
|
||||||
|
|
||||||
$this->lignes[$i] = $line; // TODO: deprecated
|
|
||||||
$this->lines[$i] = $line;
|
$this->lines[$i] = $line;
|
||||||
//dol_syslog("1 ".$line->fk_product);
|
//dol_syslog("1 ".$line->fk_product);
|
||||||
//print "xx $i ".$this->lines[$i]->fk_product;
|
//print "xx $i ".$this->lines[$i]->fk_product;
|
||||||
|
|||||||
@ -268,10 +268,11 @@ class Address
|
|||||||
$this->fournisseur = $obj->fournisseur;
|
$this->fournisseur = $obj->fournisseur;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->lignes = array();
|
|
||||||
$this->db->free($resqlsoc);
|
$this->db->free($resqlsoc);
|
||||||
|
|
||||||
// Adresses liees a la societe
|
$this->lines = array();
|
||||||
|
|
||||||
|
// Adresses liees a la societe
|
||||||
if ($this->socid)
|
if ($this->socid)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT a.rowid as id, a.label, a.name, a.address, a.datec as dc';
|
$sql = 'SELECT a.rowid as id, a.label, a.name, a.address, a.datec as dc';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user