Add seller to product resource
This commit is contained in:
parent
739975feae
commit
4aed9b60f9
|
|
@ -58,6 +58,7 @@ class Product extends JsonResource
|
||||||
'qty' => $this->qty,
|
'qty' => $this->qty,
|
||||||
'status' => $this->status,
|
'status' => $this->status,
|
||||||
'product_number' => $this->product_number,
|
'product_number' => $this->product_number,
|
||||||
|
'seller' => $product->seller,
|
||||||
// 'brand' => $product->brand->name ?? '',
|
// 'brand' => $product->brand->name ?? '',
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue