feat(gods): menambahkan point_per_ml di form
This commit is contained in:
parent
33ebebbe68
commit
dbce89fe37
@ -103,6 +103,7 @@ private function prepareSavedData(): array
|
||||
'size' => $this->size,
|
||||
'cost_price' => replaceCurrency($this->cost_price),
|
||||
'sale_price' => replaceCurrency($this->sale_price),
|
||||
'point_per_ml' => round($this->sale_price / 100),
|
||||
'description' => $this->description,
|
||||
];
|
||||
}
|
||||
|
||||
@ -145,6 +145,7 @@ private function prepareSavedData()
|
||||
'sku' => $this->sku,
|
||||
'cost_price' => replaceCurrency($this->cost_price),
|
||||
'sale_price' => replaceCurrency($this->sale_price),
|
||||
'point_per_ml' => round($this->sale_price / 100),
|
||||
'base_notes' => $this->base_notes,
|
||||
'middle_notes' => $this->middle_notes,
|
||||
'top_notes' => $this->top_notes,
|
||||
|
||||
@ -113,6 +113,7 @@ private function prepareSavedData()
|
||||
'sku' => $this->sku,
|
||||
'cost_price' => replaceCurrency($this->cost_price),
|
||||
'sale_price' => replaceCurrency($this->sale_price),
|
||||
'point_per_ml' => round($this->sale_price / 100),
|
||||
'description' => $this->description,
|
||||
'outlet_ids' => $this->outlet_ids,
|
||||
'image' => $this->image,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user