Add product number to product resource

This commit is contained in:
Amanmyrat 2023-09-15 00:01:47 +05:00
parent b2389191f1
commit 385fab9955
4 changed files with 6 additions and 6 deletions

View File

@ -57,6 +57,7 @@ class Product extends JsonResource
'featured' => $this->featured,
'qty' => $this->qty,
'status' => $this->status,
'product_number' => $this->product_number,
// 'brand' => $product->brand->name ?? '',

View File

@ -413,7 +413,7 @@ return [
'customer-notified' => ':date | Customer <b>Notified</b>',
'customer-not-notified' => ':date | Customer <b>Not Notified</b>',
'transactions' => 'Transactions',
'phone' => 'Phone',
'phone' => 'Phone number',
],
'invoices' => [

View File

@ -341,7 +341,6 @@ return [
'tax-percent' => 'Salgyt göterimi',
'tax-amount' => 'Salgyt möçberi',
'discount-amount' => 'Arzanladyş möçberi',
// 'discount-amount' => 'Arzanladyş möçberi',
'grand-total' => 'Umumy jemi',
'total-paid' => 'Jemi tölenen',
'total-refunded' => 'Jemi çykdajysy tölenen',