@extends('layouts.app') @section('content') @section('css') @endsection
{{-- Status counts --}}| 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 |