Shipping Details Issue Fixed

This commit is contained in:
Devansh 2020-08-13 16:45:54 +05:30
parent 134998e2bf
commit 50dad5e55e
1 changed files with 36 additions and 38 deletions

View File

@ -502,49 +502,47 @@
</tab>
@if ($order->shipping_address)
<tab name="{{ __('admin::app.sales.orders.shipments') }}">
<tab name="{{ __('admin::app.sales.orders.shipments') }}">
<div class="table" style="padding: 20px 0">
<table>
<thead>
<div class="table" style="padding: 20px 0">
<table>
<thead>
<tr>
<th>{{ __('admin::app.sales.shipments.id') }}</th>
<th>{{ __('admin::app.sales.shipments.date') }}</th>
<th>{{ __('admin::app.sales.shipments.carrier-title') }}</th>
<th>{{ __('admin::app.sales.shipments.tracking-number') }}</th>
<th>{{ __('admin::app.sales.shipments.total-qty') }}</th>
<th>{{ __('admin::app.sales.shipments.action') }}</th>
</tr>
</thead>
<tbody>
@foreach ($order->shipments as $shipment)
<tr>
<th>{{ __('admin::app.sales.shipments.id') }}</th>
<th>{{ __('admin::app.sales.shipments.date') }}</th>
<th>{{ __('admin::app.sales.shipments.carrier-title') }}</th>
<th>{{ __('admin::app.sales.shipments.tracking-number') }}</th>
<th>{{ __('admin::app.sales.shipments.total-qty') }}</th>
<th>{{ __('admin::app.sales.shipments.action') }}</th>
<td>#{{ $shipment->id }}</td>
<td>{{ $shipment->created_at }}</td>
<td>{{ $shipment->carrier_title }}</td>
<td>{{ $shipment->track_number }}</td>
<td>{{ $shipment->total_qty }}</td>
<td class="action">
<a href="{{ route('admin.sales.shipments.view', $shipment->id) }}">
<i class="icon eye-icon"></i>
</a>
</td>
</tr>
</thead>
@endforeach
<tbody>
@if (! $order->shipments->count())
<tr>
<td class="empty" colspan="7">{{ __('admin::app.common.no-result-found') }}</td>
<tr>
@endif
</table>
</div>
@foreach ($order->shipments as $shipment)
<tr>
<td>#{{ $shipment->id }}</td>
<td>{{ $shipment->created_at }}</td>
<td>{{ $shipment->carrier_title }}</td>
<td>{{ $shipment->track_number }}</td>
<td>{{ $shipment->total_qty }}</td>
<td class="action">
<a href="{{ route('admin.sales.shipments.view', $shipment->id) }}">
<i class="icon eye-icon"></i>
</a>
</td>
</tr>
@endforeach
@if (! $order->shipments->count())
<tr>
<td class="empty" colspan="7">{{ __('admin::app.common.no-result-found') }}</td>
<tr>
@endif
</table>
</div>
</tab>
@endif
</tab>
<tab name="{{ __('admin::app.sales.orders.refunds') }}">