@extends('admin.layouts.master') @section('content')

Order Details

@if (auth()->user()->role === 'chef') @endif @foreach ($details as $item) @if (auth()->user()->role === 'chef') @endif @endforeach
IMAGES PRODUCT NAME PRICE COUNT Size ORDER TYPE NotesSTATUS
Product Image {{ $item->name }} {{ $item->price }} {{ $item->quantity }} {{ strtoupper(substr($item->size, 0, 1)) }} @switch($item->order_type) @case(1) Take Away @break @case(2) Eat In @break @case(3) Delivery @break @default Unknown @endswitch @if ($item->notes) {{ $item->notes }} @else - @endif @if ($item->status === '1')
@csrf
@elseif ($item->status === '2') Done @elseif ($item->status === '3') @endif
Back
@endsection