Fix: bug #16942
This commit is contained in:
parent
79e3a3728f
commit
cc9b9af44f
@ -390,6 +390,12 @@ class Commande extends CommonObject
|
|||||||
*/
|
*/
|
||||||
for ($i = 0 ; $i < sizeof($this->lines) ; $i++)
|
for ($i = 0 ; $i < sizeof($this->lines) ; $i++)
|
||||||
{
|
{
|
||||||
|
// on récupère le subprice de la propale
|
||||||
|
if ($this->propale_id)
|
||||||
|
{
|
||||||
|
$this->lines[$i]->price = $this->lines[$i]->subprice;
|
||||||
|
}
|
||||||
|
|
||||||
$resql = $this->addline(
|
$resql = $this->addline(
|
||||||
$this->id,
|
$this->id,
|
||||||
$this->lines[$i]->libelle,
|
$this->lines[$i]->libelle,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user