sales_value
parent
3b6f71bdcd
commit
c2fa6d7eca
|
|
@ -36,7 +36,7 @@ class ProduckSkuResource extends JsonResource
|
||||||
return $this->buynote?->content;
|
return $this->buynote?->content;
|
||||||
}),
|
}),
|
||||||
'growth_value' => (float) $this->growth_value,
|
'growth_value' => (float) $this->growth_value,
|
||||||
'sales_value' => (int) $this->sales_value,
|
'sales_value' => (float) $this->sales_value,
|
||||||
'is_bargaing' => $this->isBargaing() ? true : false,
|
'is_bargaing' => $this->isBargaing() ? true : false,
|
||||||
'is_pre_sale' => !!$is_pre_sale,
|
'is_pre_sale' => !!$is_pre_sale,
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue