mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX: Authorize '0' subprice
This commit is contained in:
parent
8b63f7e296
commit
d8dd1ebd19
|
|
@ -3048,7 +3048,7 @@ class SupplierProposalLine extends CommonObjectLine
|
|||
$sql .= " ".price2num($this->localtax2_tx).",";
|
||||
$sql .= " '".$this->db->escape($this->localtax1_type)."',";
|
||||
$sql .= " '".$this->db->escape($this->localtax2_type)."',";
|
||||
$sql .= " ".(!empty($this->subprice) ? price2num($this->subprice, 'MU') : "null").",";
|
||||
$sql .= " ".price2num($this->subprice, 'MU') .",";
|
||||
$sql .= " ".((float) $this->remise_percent).",";
|
||||
$sql .= " ".(isset($this->info_bits) ? ((int) $this->info_bits) : "null").",";
|
||||
$sql .= " ".price2num($this->total_ht, 'MT').",";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user