@extends('driver._layout') @section('body')
@if(session('message')) @endif
Make an appointment
Maintenance history:
@if($maintenances) @foreach($maintenances as $maintenance) @endforeach @else @endif
Date Jobs Invoice
{{ date('j M Y', strtotime($maintenance->appointment)) }} Truck.SVG:{{ $maintenance->truck_job }}
Trailer.SVG:{{ $maintenance->trailer_job }}
@if($maintenance->status == 1) Download @else {!! strtotime(date('j M Y', strtotime($maintenance->appointment))) >= strtotime(date('j M Y', strtotime(now()))) ? 'waiting' : 'canceled' !!} @endif
No maintenance history
@endsection @section('script') @endsection