@slot('option')
@if (!empty($config['shipment_status']))
@foreach ($config['shipment_status'] as $val => $label)
@if ($val > 0)
@endif
@endforeach
@endif
@endslot
{{ __('order::order_shipping.field.set_all_qty') }}
@if (!empty($items))
@foreach ($items as $item)
@php
$detail = json_decode($item->product_detail);
$images = json_decode($detail->images, true);
$image = $images[0]['image'] ?? '';
$item_quantity = $item->quantity ?? 0;
$shipping_items = $item->shipping_items->sum('quantity') ?? 0;
$disable = '';
if ($item_quantity == $shipping_items) {
$disable = 'readonly';
}
@endphp
{{ $detail->sku ?? '' }}
{{ $item->product->local->name ?? '' }}
{{ number_format($item->price_after_vat ?? 0, 0, '.', ',') }} บาท/ชิ้น | จำนวน {{ number_format($item_quantity) }} ชิ้น | จัดส่งแล้ว {{ number_format($shipping_items) }} ชิ้น
{{--
Developer --}}
@endforeach
@endif