@extends('layout') @section('body')
@if(session('error')) @endif
@csrf @method('PUT')
Make Appointment:
{{$maintenance->truck_number}} | {{$maintenance->fullname}}
@if($maintenance->owner_id)
{{$maintenance->fOwnerData->firstname}} {{$maintenance->fOwnerData->lastname}}
@endif
@if($usr->role == 'admin') @else {{date('d M Y', strtotime($maintenance->appointment))}} @endif
@if(in_array($usr->role,['admin','accounting']))
@endif
Invoice:
@if($maintenance->invoice)
Download Invoice View
@endif @if(in_array($usr->role,['admin','accounting']))
@endif
Truck Repair Service:
Trailer Repair Service:
Cancel appointment
@endsection @section('head') @endsection @section('script') @endsection