@extends('sysadmin.layouts.app') @section('post-header') @endsection @section('custom-css') @endsection @section('content')
Filter by date
{{ csrf_field() }}
to
@if ($errors->has('start')) {{ $errors->first('start') }} @endif @if ($errors->has('end')) {{ $errors->first('end') }} @endif

Orders List

{{----}} @if(count($orders) != 0) @foreach($orders as $order) {{----}} @endforeach @endif
ID Total Transport Cost Restaurant Name Address Address Details Date Delivery Time Transport Type Courier Name StatusEdit
{{ $order->orderID }} {{ $order->total }} {{ $order->transportCost }} {{ $order->restaurantName }} {{ $order->address ? $order->address : "-" }} {{ $order->addressDetails ? $order->addressDetails : "-" }} {{ date("m/d/Y", strtotime($order->date))}} {{ $order->deliverytime }} @if($order->courierUser->transportType == 0) Bicycle @elseif ($order->courierUser->transportType == 1) Motocycle @else Auto @endif {{-- {{ $order->courierUser->name ? $order->courierUser->name : 'Select Courier' }}--}} --}} {{----}} {{----}} {{----}} {{--
@endsection @section('custom-js') @endsection