Change qty on product resource
This commit is contained in:
parent
6ad51930bb
commit
01f1aafad3
|
|
@ -55,7 +55,8 @@ class Product extends JsonResource
|
|||
'logo' => $this->logo ? Storage::url($this->logo) : null,
|
||||
'new' => $this->new,
|
||||
'featured' => $this->featured,
|
||||
'qty' => $this->qty,
|
||||
'qty' => $product->qty,
|
||||
'qty2' => $product->inventory_sources->qty,
|
||||
'status' => $this->status,
|
||||
'product_number' => $this->product_number,
|
||||
// 'brand' => $product->brand->name ?? '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue