mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 17:02:34 +01:00
insert fields order (#29272)
This commit is contained in:
@@ -856,10 +856,10 @@ class Product extends CommonObject
|
||||
$sql .= ", ".(!empty($this->label) ? "'".$this->db->escape($this->label)."'" : "null");
|
||||
$sql .= ", ".((int) $user->id);
|
||||
$sql .= ", ".((int) $this->type);
|
||||
$sql .= ", ".(!empty($this->price_label) ? "'".$this->db->escape($this->price_label)."'" : "null");
|
||||
$sql .= ", ".price2num($price_ht, 'MT');
|
||||
$sql .= ", ".price2num($price_ttc, 'MT');
|
||||
$sql .= ", '".$this->db->escape($this->price_base_type)."'";
|
||||
$sql .= ", ".(!empty($this->price_label) ? "'".$this->db->escape($this->price_label)."'" : "null");
|
||||
$sql .= ", ".((int) $this->status);
|
||||
$sql .= ", ".((int) $this->status_buy);
|
||||
if (!getDolGlobalString('MAIN_PRODUCT_PERENTITY_SHARED')) {
|
||||
|
||||
Reference in New Issue
Block a user