@lang('modules.order.orderNumber') #{{ $orderNumber }}
@if (!is_null($tableNo)) {{ $tableNo }} @else @lang('modules.order.setTable') @endif
@lang('modules.order.noOfPax')
@foreach ($users as $item) @endforeach
@foreach ($kotList as $kot)
@lang('menu.kot') #{{ $kot->kot_number }}
{{ $kot->created_at->timezone(timezone())->translatedFormat('d F, H:i A') }}
@forelse ($orderItemList as $key => $item) @continue(!strpos($key, 'kot_' . $kot->id)) @php $itemName = $item->item_name; $itemVariation = (isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->variation : ''); $itemPrice = (isset($orderItemVariation[$key]) ? $orderItemVariation[$key]->price : $item->price); @endphp @empty @endforelse
@lang('modules.menu.itemName') @lang('modules.order.qty') @lang('modules.order.price') @lang('modules.order.amount') @lang('app.action')
{{ $itemName }}
{{ $itemVariation }}
{{ currency() . $itemPrice}} {{ currency() . ($orderItemQty[$key] * $itemPrice) }}
@lang('messages.noItemAdded')
@endforeach
@lang('modules.order.totalItem')
{{ count($orderItemList) }}
@lang('modules.order.subTotal')
{{ currency() }}{{ $subTotal }}
@foreach ($taxes as $item)
{{ $item->tax_name }} ({{ $item->tax_percent }}%)
{{ currency() }}{{ (($item->tax_percent / 100) * $subTotal) }}
@endforeach
@lang('modules.order.total')
{{ currency() }}{{ $total }}
@if ($orderDetail->status == 'kot')
@lang('modules.order.newKot')
@endif @if ($orderDetail->status == 'billed')
@endif