@lang('modules.order.orderNumber') #{{ $orderNumber }}
@if ($orderType == 'dine_in')
@if (!is_null($tableNo)) {{ $tableNo }} @else @lang('modules.order.setTable') @endif
@endif
@if ($orderType == 'dine_in')
@lang('modules.order.noOfPax')
@if ($this->orderNote) @endif @foreach ($users as $item) @endforeach
@endif @if ($orderType == 'delivery')
@foreach ($deliveryExecutives as $item) @endforeach
@endif
@forelse ($orderItemList as $key => $item) @php $itemPrice = isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->price : $item->price; @endphp @empty @endforelse
@lang('modules.menu.itemName') @lang('modules.order.qty') @lang('modules.order.amount') @lang('app.action')
{{ $item->item_name }}
{{ (isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->variation : '') }}
@if (!empty($itemModifiersSelected[$key]))
@foreach ($itemModifiersSelected[$key] as $modifierOptionId)
{{ $this->modifierOptions[$modifierOptionId]->name }} {{ currency_format($this->modifierOptions[$modifierOptionId]->price) }}
@endforeach
@endif
{{ currency_format(($orderItemQty[$key] * ($itemPrice + (isset($orderItemModifiersPrice[$key]) ? $orderItemModifiersPrice[$key] : 0)) )) }}
@lang('messages.noItemAdded')
@if (count($orderItemList) > 0)
@lang('modules.order.addDiscount')
@endif
@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ currency_format($subTotal) }}
@if ($discountAmount)
@lang('modules.order.discount') @if ($discountType == 'percent') ({{ $discountValue }}%) @endif
-{{ currency_format($discountAmount) }}
@endif @foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ currency_format(($item->tax_percent / 100) * $subTotal) }}
@endforeach
@lang('modules.order.total')
{{ currency_format($total) }}