Merge pull request #7134 from defrance/patch-22
if no suppliers selected, no subprice yet
This commit is contained in:
commit
fc76383718
@ -2841,7 +2841,7 @@ class SupplierProposalLine extends CommonObjectLine
|
||||
$sql.= " ".price2num($this->localtax2_tx).",";
|
||||
$sql.= " '".$this->localtax1_type."',";
|
||||
$sql.= " '".$this->localtax2_type."',";
|
||||
$sql.= " ".price2num($this->subprice).",";
|
||||
$sql.= " ".(!empty($this->subprice)?price2num($this->subprice):"null").",";
|
||||
$sql.= " ".price2num($this->remise_percent).",";
|
||||
$sql.= " ".(isset($this->info_bits)?"'".$this->info_bits."'":"null").",";
|
||||
$sql.= " ".price2num($this->total_ht).",";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user