@extends('layouts.app') @section('content')
Welcome Back, {{auth()->user()->name}}!
Logged In at: {{ \Carbon\Carbon::parse(auth()->user()->last_seen)->diffForHumans() }}, Active Date: {{$dayClose->day_close}}, Outlet: {{auth()->user()->branch}}

{{$app->app_name}} DELIVERY TRACKER!

Manage All Deliveries, Track deliveries
generate report on delivery orders and more. it's easy!

Order transfer

Easily transfer orders to other outlets. Click to get started

Make transfer
@if(!empty(request('search')))

Results:'....{{request('search')}}

@else
Pending Orders
@endif
Dispatching Orders @if(auth()->user()->role == "Dispatch Manager") Report @else Report @endif
@foreach($dispatchorders as $order) @endforeach
Invoice Number Created at Status Outlet Customer Contact Action
#{{$order->order_id}}
Ordering Time: {{ \Carbon\Carbon::parse($order->created_at)->diffForHumans() }}
{{$order->created_at}} {!! $order->dispatch_status == 0 ? '' . "Pending" . '' : '' . "Dispatching" . ''!!} {{$order->branch}} {{$order->customer_phone}} Customer View Order @if(auth()->user()->role == "Call Center") @else @if($order->dispatch_status == 0) Dispatch Order @else @endif @endif
{{$dispatchorders->links()}}
@endsection