@section('title', 'Orders')
{{ __('Order Details') }}
@include('livewire.order.regular_order_details'){{ __('Edit Order') }}
{{ __('Edit Products') }}
{{ __('Create Order') }}
{{ __('Products') }}
| 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)
|
|
{{-- actions --}}
|
{{ __('Order Summary') }}
{{-- order summary --}}{{ __('Products') }}
| 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' }} |