@extends('panel.layouts.app') @push("head") @endpush @section('title',$pageTitle) @section('body')

All Inspections

@php($counter = 1) @foreach($quick_checks as $list) @endforeach
# Package Customer Car Start at End At Action
{{$counter}} {{$list->package_name}} {{$list->customer_name}} / {{$list->customer_country_code}}-{{$list->customer_contact}} {{-- {{$list->car_name}}--}} {{$list->car_make}} {{$list->car_plate_number}} {{$list->start_at}}
{{ \Carbon\Carbon::parse($list->start_at)->diffForhumans() }}
@if(!empty($list->end_at)) {{$list->end_at}}
Took {{ \Carbon\Carbon::parse($list->end_at)->diffInMinutes(\Carbon\Carbon::parse($list->start_at)) }} Minutes @else @endif
@can('inspection-log') @endcan @can('inspection-sms-sent') @endcan @can('inspection-report') @if($list->customer_name !== null && $list->car_make !== null ) @endif @endcan @can('inspection-continue') @if(\Carbon\Carbon::parse($list->start_at)->diffInHours(now()) < 4) @endif @endcan @can('inspection-remove') @endcan
@can('inspection-remove') @include('panel.quick_check.model.delete') @endcan @endsection @push('scripts') @can('inspection-remove') @endcan @can('inspection-sms-sent') @endcan @endpush