@extends('layout.app') @section('title', 'Driver Dashboard') @push('header_script') @endpush @section('content')
@endif
| Father Name: | {{ $driver->father_name }} |
|---|---|
| DOB: | {{ $driver->dob ? date('d M Y', strtotime($driver->dob)) : 'N/A' }} |
| Blood Group: | {{ $driver->blood_group ?? 'N/A' }} |
| Emergency Contact: | {{ $driver->emergency_contact ?? 'N/A' }} |
| Aadhaar: | {{ $driver->aadhaar_card_no ?? 'N/A' }} |
| PAN: | {{ $driver->pan_card_no ?? 'N/A' }} |
| License No: | {{ $driver->driving_licence_no }} |
|---|---|
| Issue Date: | {{ $driver->license_issue_date ? date('d M Y', strtotime($driver->license_issue_date)) : 'N/A' }} |
| Valid Upto: | {{ $driver->driving_licence_valid_upto ? date('d M Y', strtotime($driver->driving_licence_valid_upto)) : 'N/A' }} |
| License Class: | @php $classes = is_array(json_decode($driver->license_class, true)) ? json_decode($driver->license_class, true) : [$driver->license_class]; @endphp {{ implode(', ', array_filter($classes)) }} |
| Prev. Employer: | {{ $driver->previous_employer ?? 'N/A' }} |
{{ $event->remarks }}
No timeline events recorded.
@endif| Truck No | Start Date | End Date | Mileage (Kmpl) |
|---|---|---|---|
| {{ $assignment->truck_no }} | {{ date('d M Y', strtotime($assignment->start_date)) }} | {{ $assignment->end_date ? date('d M Y', strtotime($assignment->end_date)) : 'Present' }} | {{ $assignment->mileage_kmpl ?? '-' }} |
| No truck assignments found. | |||
| Type | Start Date | End Date | Reason | Status |
|---|---|---|---|---|
| {{ $leave->leave_type }} | {{ date('d M Y', strtotime($leave->start_date)) }} | {{ date('d M Y', strtotime($leave->end_date)) }} | {{ $leave->reason }} | {{ $leave->status }} |
| No leave records found. | ||||
No performance records found.
@endforelse