@extends('layouts.app') @section('content') @section('css') @endsection
Clear
{{-- Status counts --}}

{{ isset($title)?$title:'' }}

@if(isset($orders) && !empty($orders)) @foreach($orders as $row) @if($row->order_day == 'later') @endif order_day == 'later') class="scheduled-order" @endif> @endforeach @endif
Id Customer Date Time Total Order Type Tax Platform Status User View
Scheduled Order : {{ date("j-F-Y h:i:s A", strtotime($row->order_day_date)) }}
{{$row->id}} @if($row->checkout != 'guest') {{ucwords($row->customer_name)}}
@else {{ucwords($row->customer_name)}}
@endif {{ucwords($row->checkout)}} @if($row->order_due_tomorrow) (Next Day Order) @endif
{{ date("j-F-Y", strtotime($row->created_at)) }}
{{ date("h:i:s A", strtotime($row->created_at)) }}
{{env('CURRENCY').number_format($row->total)}} @if($row->order_type == 'delivery') {{ ucwords($row->order_type)}}
{{env('CURRENCY').number_format($row->delivery_charges) }} @endif @if($row->order_type == 'pickup') {{ ucwords($row->order_type)}}
{{$row->pickup_time }} @endif
{{env('CURRENCY').$row->tax}} {{$row->platform}} @if($row->status == 0) Placed @elseif($row->status == 1) Accept @elseif($row->status == 2) Decline @elseif($row->status == 3) Pending @elseif($row->status == 4) Delivered @elseif($row->status == 5) Paid @endif {{ucwords($row->user)}} @if(!$row->all_items_nextday) @endif @if($row->order_due_tomorrow) @endif
@if(isset($orders) && !empty($orders)) {{$orders->links()}} @endif
@include('admin.orders.online_orders_modal') @section('js') @endsection @endsection