@extends('layouts.admin') @section('content') @include('include.datatable-css')
@include('include.flash-message')
{{ $driver->accountId }}   {{ $driver->firstName }} {{ $driver->lastName }}  
Working Days: {{ $working_days }}
Hours: {{ number_format(($duration/60), 2) }}
@include('include.refresh-button')
Sun
Mon
Tue
Wed
Thu
Fri
Sat
@foreach ($cal as $k => $v)
@foreach ($v as $item)
@isset($item)
{{ $item['date'] }}
@if ($item['weekday'] == TRUE) @if ($item['minutes']) P

@else @if ($item['date'] <= $today) A

@endif @endif @endif
@else
 
 
@endisset
@endforeach
@endforeach
Month {{ $month }}
Working Days {{ $working_days }}
Days Present {{ $on_days }}
Working Hours {{ $working_hours }}      [ {{ $hours }} hours, {{ $minutes }} minutes ]
@endsection