Update fournisseur.commande.class.php

This commit is contained in:
This Charlène
2022-08-23 12:05:54 +02:00
committed by GitHub
parent 8c71118fa8
commit 9ce6ed74a7

View File

@@ -1957,7 +1957,7 @@ class CommandeFournisseur extends CommonOrder
$this->line->total_localtax2 = $total_localtax2;
$this->line->total_ttc = $total_ttc;
$this->line->product_type = $type;
$this->line->special_code = $this->special_code;
$this->line->special_code = (!empty($this->special_code) ? $this->special_code : 0);
$this->line->origin = $origin;
$this->line->origin_id = $origin_id;
$this->line->fk_unit = $fk_unit;
@@ -2856,7 +2856,7 @@ class CommandeFournisseur extends CommonOrder
$this->line->total_localtax2 = $total_localtax2;
$this->line->total_ttc = $total_ttc;
$this->line->product_type = $type;
$this->line->special_code = $this->special_code;
$this->line->special_code = (!empty($this->special_code) ? $this->special_code : 0);
$this->line->origin = $this->origin;
$this->line->fk_unit = $fk_unit;