produ
parent
bdf67eda3a
commit
950368f495
|
|
@ -35,7 +35,7 @@ class ProduckSkuResource extends JsonResource
|
|||
'buynote' => (string) $this->when($this->relationLoaded('buynote'), function () {
|
||||
return $this->buynote?->content;
|
||||
}),
|
||||
'growth_value' => (int) $this->growth_value,
|
||||
'growth_value' => (float) $this->growth_value,
|
||||
'sales_value' => (int) $this->sales_value,
|
||||
'is_bargaing' => $this->isBargaing() ? true : false,
|
||||
'is_pre_sale' => !!$is_pre_sale,
|
||||
|
|
|
|||
Loading…
Reference in New Issue