@extends('layouts.admin.master') @section('title', 'Dine-In') @section('content') Food Items {{ now()->format('l, F j, Y') }} + Choose Category @if (count($menuCategories) != 0) @foreach ($menuCategories as $menuCategory) @if ($menuCategory['menu_category_image'] == null) @else @endif {{ $menuCategory['menu_category_name'] }} @endforeach @endif + Choose Items @if (count($items) != 0) @foreach ($items as $item) @if ($item['store_qty'] <= 0) @php $disabled = ''; $textColor = 'red'; @endphp @else @php $disabled = ''; $textColor = 'green'; @endphp @endif {{ Str::words($item['item_name'], 3, '...') }} {{ number_format($item['item_price']) }} MMK Store Qty: {{ $item['store_qty'] }} @endforeach @endif @if (count($mainCategories) != 0) All @foreach ($mainCategories as $mainCategory) @if ($mainCategory['main_category_id'] == 1) {{ $mainCategory['main_category_name'] }} @else {{ $mainCategory['main_category_name'] }} @endif @endforeach @endif id }} hidden> Table - ({{ $table[0]['table_name'] }}), Order - ({{ $tableOrderValue }}) {{-- 1 2 3 4 5 --}} {{-- + Add Order --}} @php $orderTotalAmount = 0; @endphp @if (count($orderDetails) != 0) @for ($i = 0; $i < count($orderDetails); $i++) {{ $orderDetails[$i]['item_name'] }} +remark @if ($orderDetails[$i]['is_foc'] == 1 || $orderDetails[$i]['is_foc'] == '1') @else @endif @if ($orderDetails[$i]['is_foc'] == 1 || $orderDetails[$i]['is_foc'] == '1') 0 MMK @else {{ number_format($orderDetails[$i]['item_price'] * $orderDetails[$i]['quantity']) }} MMK @endif @php if ( $orderDetails[$i]['is_foc'] != 1 || $orderDetails[$i]['is_foc'] != '1' ) { $orderTotalAmount += $orderDetails[$i]['item_price'] * $orderDetails[$i]['quantity']; } @endphp @endfor @php $orderTotalAmount = number_format($orderTotalAmount); @endphp @endif {{-- @for ($i = 0; $i < 8; $i++) Classic Pan +remark 30,000 MMK @endfor --}} Total {{ $orderTotalAmount }} MMK Place Order @csrf Are you sure want to delete? Remark @csrf Item Name Remark* Add Remark @csrf Item Name Remark* @csrf @csrf @endsection
{{ $menuCategory['menu_category_name'] }}
{{ Str::words($item['item_name'], 3, '...') }}
{{ number_format($item['item_price']) }} MMK Store Qty: {{ $item['store_qty'] }}