notifications ready fx11

This commit is contained in:
merdan 2022-11-26 10:05:38 +05:00
parent 85b33d6acc
commit 0ae19603d7
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class CartRuleResource extends JsonResource
'name' => $this->name,
'description' => $this->description,
'is_fixed' => $is_fixed,
'is_discount' => $this->discount_amoun >0,
'is_discount' => $this->discount_amount >0,
'amount' => abs($is_fixed ?
core()->convertPrice($this->discount_amount, $this->currency):
$this->discount_amount)