Maintenance Request @include('layouts.crmnov')

@if($role!='tradesman') @if(!empty($id)) Add New @else Add New @endif @endif
@forelse($datalist as $maintenance) @empty @endforelse
Priority Level Date Requested Description Trade Type Status Action
@if($maintenance['priority_level']==2) High @elseif($maintenance['priority_level']==1) Medium @else Low @endif {{date('Ymd', strtotime($maintenance['created_at']))}}@if(isset($maintenance['created_at'])) {{date(config('choicescrm.date_format_forms'), strtotime($maintenance['created_at']))}} @endif {{substr($maintenance['description'], 0, 80)}} @if(strlen($maintenance['description']) > 80)..@endif {{$maintenance['tradesmancategory']['name']}} @if($maintenance['status']==4) Submit for Approval @elseif($maintenance['status']==0) Submitted @elseif($maintenance['status']==5) Close @elseif($maintenance['status']==6) Rejected @else Working @endif
No Maintenance found