{{ __('order::list.order.title') }}
{{ $data['no'] ?? '-' }}
{{ $data['status_text'] ?? '-' }}
{{ __('order::list.order.date') }}
{{ str_date($data['confirm_at'] ?? null) }}
@if (!empty($data['items'])) @foreach ($data['items'] as $item) @endforeach @else @endif @if (!empty($data['save'])) @endif @if (!empty($data['vat']['total'])) @endif @if (!empty($data['wht']['total'])) @endif @if (!empty($data['total_shipping_fee'])) @endif
{{ __('order::list.order.product') }} {{ __('order::list.order.price') }} {{ __('order::list.order.quantity') }} {{ __('order::list.order.total') }}

{{ $item['name'] ?? '' }}

SKU : {{ $item['sku'] ?? '' }}

{!! str_implode(', ', "Color : " . ($item['color']['name'] ?? '-'), 'Size : ' . ($item['size']['name'] ?? '-')) !!}

{{ number_format($item['price'] ?? 0) }} ฿

@if ($item['price'] < $item['original']) {{ number_format($item['original'] ?? 0) }}฿ @endif
{{ number_format($item['quantity'] ?? 0) }} {{ number_format($item['total'] ?? 0, 2) }} ฿
{{ __('order::list.order.empty') }}
{{ __('order::list.order.subtotal') }} {{ number_format($data['subtotal'] ?? 0, 2) }} ฿
{{ __('order::list.order.discount') }} -{{ number_format($data['save'] ?? 0, 2) }} ฿
{{ __('order::list.order.vat') }} {{ $data['vat']['rate'] ?? 0 }}% +{{ number_format($data['vat']['total'] ?? 0, 2) }} ฿
{{ __('order::list.order.wht') }} -{{ number_format($data['wht']['total'] ?? 0, 2) }} ฿
{{ __('order::list.order.shipping_fee') }} {{ number_format($data['total_shipping_fee'] ?? 0, 2) }} ฿
{{ __('order::list.order.total') }} {{ number_format($data['total_amount'] ?? 0, 2) }} ฿
{{ __('order::list.detail_more') }}