Change qty on product resource
This commit is contained in:
parent
f4a8189240
commit
c932c4f5e3
|
|
@ -55,7 +55,7 @@ class Product extends JsonResource
|
|||
'logo' => $this->logo ? Storage::url($this->logo) : null,
|
||||
'new' => $this->new,
|
||||
'featured' => $this->featured,
|
||||
'qty' => $product->qty,
|
||||
'qty' => $this->qty,
|
||||
'qty2' => $product->totalQuantity(),
|
||||
'status' => $this->status,
|
||||
'product_number' => $this->product_number,
|
||||
|
|
|
|||
Loading…
Reference in New Issue