@extends('admin.layout') @section('content')
@if (count($orders) == 0)

NO ORDER FOUND

@else
@foreach ($orders as $key => $order) @endforeach
Order Number Serving Method Payment Status Completed Gateway Time Actions
{{$order->order_number}} @if ($order->serving_method == 'on_table') On Table @elseif ($order->serving_method == 'home_delivery') Home Delivery @elseif ($order->serving_method == 'pick_up') Pick up @endif @if ($order->type == 'pos' || $order->gateway_type == 'offline')
@csrf
@else @if ($order->payment_status == 'Pending' || $order->payment_status == 'pending')

Pending

@else

Completed

@endif @endif
@csrf
@csrf
{{$order->method}} {{$order->created_at}}
@endif
@includeIf('admin.product.order.mail') @endsection @section('scripts') @endsection