fic(product, bottle): type pas save data
This commit is contained in:
parent
456e7be055
commit
a53b34083f
@ -103,7 +103,7 @@ private function prepareSavedData(): array
|
|||||||
'size' => $this->size,
|
'size' => $this->size,
|
||||||
'cost_price' => replaceCurrency($this->cost_price),
|
'cost_price' => replaceCurrency($this->cost_price),
|
||||||
'sale_price' => replaceCurrency($this->sale_price),
|
'sale_price' => replaceCurrency($this->sale_price),
|
||||||
'point_per_ml' => round($this->sale_price / 100),
|
'point_per_pcs' => round($this->sale_price / 100),
|
||||||
'description' => $this->description,
|
'description' => $this->description,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -113,7 +113,7 @@ private function prepareSavedData()
|
|||||||
'sku' => $this->sku,
|
'sku' => $this->sku,
|
||||||
'cost_price' => replaceCurrency($this->cost_price),
|
'cost_price' => replaceCurrency($this->cost_price),
|
||||||
'sale_price' => replaceCurrency($this->sale_price),
|
'sale_price' => replaceCurrency($this->sale_price),
|
||||||
'point_per_ml' => round($this->sale_price / 100),
|
'point_per_pcs' => round($this->sale_price / 100),
|
||||||
'description' => $this->description,
|
'description' => $this->description,
|
||||||
'outlet_ids' => $this->outlet_ids,
|
'outlet_ids' => $this->outlet_ids,
|
||||||
'image' => $this->image,
|
'image' => $this->image,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user