Skip to content

Commit

Permalink
Subprice was null in supplier proposal and line was not transfered to…
Browse files Browse the repository at this point in the history
… supplier order
  • Loading branch information
atm-maxime committed Apr 12, 2017
1 parent 17da4f6 commit 396ea54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/supplier_proposal/class/supplier_proposal.class.php
Expand Up @@ -2781,7 +2781,7 @@ function insert($notrigger=0)
$sql.= " ".price2num($this->localtax2_tx).",";
$sql.= " '".$this->localtax1_type."',";
$sql.= " '".$this->localtax2_type."',";
$sql.= " ".($this->subprice?price2num($this->subprice):"null").",";
$sql.= " ".price2num($this->subprice).",";
$sql.= " ".price2num($this->remise_percent).",";
$sql.= " ".(isset($this->info_bits)?"'".$this->info_bits."'":"null").",";
$sql.= " ".price2num($this->total_ht).",";
Expand Down

0 comments on commit 396ea54

Please sign in to comment.