@section('title', __('Orders'))
{{ __('Order Details') }}
@if (!empty($selectedModel) ) @switch($selectedModel->order_type) @case("package") @include('livewire.order.package_order_details') @break @case("parcel") @include('livewire.order.package_order_details') @break @case("service") @include('livewire.order.service_order_details') @break @case("taxi") @include('livewire.order.taxi_order_details') @break @default @include('livewire.order.regular_order_details') @break @endswitch @endif{{ __('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'] }} {{ currencyFormat($productSelectedOption['price']) }} @endforeach @endif |
{{ $newOrderProductsQtys[$product->id] ?? '1' }} |