@section('title', 'Completed Orders')
{{-- details moal --}}

{{ __('Order Details') }}

@include('livewire.order.regular_order_details')
{{-- edit modal --}}

{{ __('Edit Order') }}

{{-- --}}
@if ($selectedModel->is_food ?? false)

{{ __('Edit Products') }}

@endif
{{-- with initial emit --}} {{-- delivery boy --}} {{-- --}}
{{-- edit order products modal --}} @livewire('edit-order-livewire') {{-- payment review moal --}}

{{ __('Order Payment Proof') }}

{{-- New order placement --}} {{-- new form --}}

{{ __('Create Order') }}

{{ __('Products') }}

@foreach ($newOrderProducts ?? [] as $key => $product) @endforeach
S/N Name Options QTY Actions
{{ $key + 1 }} {{ $product->name }} @foreach ($product->option_groups as $option_group)

{{ $option_group->name }}

@foreach ($option_group->options as $option) @php if ($option_group->multiple) { $optionId = 'newProductOptions.' . $product->id . '.' . $option_group->id . '.' . $option->id; } else { $optionId = 'newProductOptions.' . $product->id . '.' . $option_group->id; } @endphp @if ($option_group->multiple) @else @endif @endforeach

@endforeach
{{-- actions --}}
{{-- lo --}}
{{-- Customer --}} @if (!$isPickup ?? false) @endif

{{ __('APPLY') }}

{{-- ORDER PLACEMENT --}}

{{ __('Order Summary') }}

{{-- order summary --}}
@if (!$isPickup) @endif

{{-- vendor details --}} {{-- products --}}

{{ __('Products') }}

@foreach ($newOrderProducts ?? [] as $key => $product) @endforeach
S/N Name Options QTY
{{ $key + 1 }} {{ $product->name }} @if (!empty($newProductSelectedOptions)) @foreach ($newProductSelectedOptions[$product->id] ?? [] as $key => $productSelectedOption)

{{ $productSelectedOption['name'] }} {{ setting('currency', '$') . '' . $productSelectedOption['price'] }}

@endforeach @endif
{{ $newOrderProductsQtys[$product->id] ?? '1' }}

@if (!$isPickup)
@endif {{-- driver tip --}}