@extends('owner._layout') @if(session('message')) @endif @section('body')
Money
Gross:
B
Fuel:
B
Company cash:
B
Income:
B
Claims
@if($claims->isEmpty())

You have not any claims

@else @foreach($claims as $claim) {{ $claim->pickup_city }}, {{ $claim->pickup_state }} @endforeach @endif
Maintenance
@if($maintenance->isEmpty())

You have not any appointment

@else @foreach($maintenance as $mt) {{$mt->userData->firstname}} {{$mt->userData->lastname}} @endforeach @endif
Drivers
@if($drivers->isEmpty()) @else @foreach($drivers as $driver) @endforeach @endif
Truck Fullname Status
Your drivers did not set up yet
{{ $driver->truckData->number }} {{ $driver->userData->firstname.' '.$driver->userData->lastname }} {!! $driver->status === 'loaded' ? 'loaded' : 'waiting' !!}
@endsection @section('script') @endsection