@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, restaurant()->currency_id) }}
@endif @if (count($orderItemList) > 0 && $extraCharges) @foreach ($extraCharges as $charge)
{{ $charge->charge_name }} @if ($charge->charge_type == 'percent') ({{ $charge->charge_value }}%) @endif
@if ($charge->charge_type == 'percent') {{ currency_format(($charge->charge_value / 100) * $discountedTotal, restaurant()->currency_id) }} @else {{ currency_format($charge->charge_value, restaurant()->currency_id) }} @endif
@endforeach @endif @foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ currency_format(($item->tax_percent / 100) * $discountedTotal, restaurant()->currency_id) }}
@endforeach
@lang('modules.order.total')
{{ currency_format($total, restaurant()->currency_id) }}