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, 'featured' => $this->featured,
'qty' => $this->qty, 'qty' => $this->qty,
'status' => $this->status, 'status' => $this->status,
'product_number' => $this->product_number,
// 'brand' => $product->brand->name ?? '', // 'brand' => $product->brand->name ?? '',

View File

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

View File

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

View File

@ -154,7 +154,7 @@
{!! view_render_event('sales.order.customer_group.after', ['order' => $order]) !!} {!! view_render_event('sales.order.customer_group.after', ['order' => $order]) !!}
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</accordian> </accordian>
@ -190,7 +190,7 @@
</div> </div>
</div> </div>
@endif @endif
</div> </div>
</div> </div>
</accordian> </accordian>
@endif @endif
@ -274,7 +274,7 @@
</div> </div>
</div> </div>
@endif @endif
</div> </div>
</div> </div>
</accordian> </accordian>
@ -362,7 +362,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="summary-comment-container"> <div class="summary-comment-container">
<div class="comment-container"> <div class="comment-container">