order_item resource
This commit is contained in:
parent
2dd4438cf9
commit
eec0cd0fab
|
|
@ -291,6 +291,7 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th>Image</th>
|
||||
<th>Seller</th>
|
||||
<th>{{ __('admin::app.sales.orders.product-name') }}</th>
|
||||
<th>{{ __('admin::app.sales.orders.price') }}</th>
|
||||
<th>{{ __('admin::app.sales.orders.item-status') }}</th>
|
||||
|
|
@ -307,7 +308,10 @@
|
|||
<tbody>
|
||||
|
||||
@foreach ($order->items as $item)
|
||||
@php $product = $item->child->product ?? $item->product; @endphp
|
||||
@php
|
||||
$product = $item->child->product ?? $item->product;
|
||||
$seller = $this->sellerProductRepository->getSellerByProductId($item->product_id);
|
||||
@endphp
|
||||
<tr>
|
||||
<td>
|
||||
@if($product)
|
||||
|
|
@ -319,6 +323,9 @@
|
|||
{{$item->sku}} Product not found
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
{{$seller->shop_title??"N/A"}}
|
||||
</td>
|
||||
|
||||
<td>
|
||||
@if($product)
|
||||
|
|
|
|||
Loading…
Reference in New Issue