@section('title', __('New Order'))
| {{ __('Product') }} | {{ __('Options') }} | {{ __('Quantity') }} | {{ __('Price') }} | {{ __('Action') }} | ||
|---|---|---|---|---|---|---|
| {{ $product['name'] ?? '' }} | @php $selected_options = $product['selected_options'] ?? []; if (is_string($selected_options)) { $selected_options = json_decode($selected_options, true); } @endphp @foreach ($selected_options ?? [] as $option) {{ $option['name'] ?? '' }}{{ !$loop->last ? ',' : '' }} @endforeach |
|
{{ currencyFormat($product['total_price'] ?? ($product['price'] ?? '0')) }} |
|
||
| {{ __('No products added yet') }} | ||||||
{{ __('Product Options') }}
{{ $optionGroup->name }}
{{-- options --}}{{ $option->name }}
{{ currencyFormat($option->price ?? 0) }}
{{ __('Order Summary') }}
{{-- order summary --}}{{ __('Products') }}
| {{ __('S/N') }} | {{ __('Name') }} | {{ __('Options') }} | {{ __('QTY') }} |
|---|---|---|---|
| {{ $key + 1 }} | {{ $product['name'] ?? '' }} | @php $selected_options = $product['selected_options'] ?? []; if (is_string($selected_options)) { $selected_options = json_decode($selected_options, true); } @endphp @foreach ($selected_options ?? [] as $option) {{ $option['name'] ?? '' }}{{ !$loop->last ? ',' : '' }} @endforeach | {{ $product['qty'] ?? '1' }} |