@extends('layouts.admin') @section('content')
{{ trans('cruds.drivewaySheet.title_singular') }} {{ trans('global.list') }}
@php $i = 1; @endphp @foreach($drivewaysheet as $key => $data) {{-- --}} @php $i++; @endphp @endforeach
{{__('ID')}} {{ trans('cruds.drivewaySheet.fields.date') }} {{ trans('global.status') }} {{ trans('global.action') }}
{{$i}} {{ date('d-M-y', strtotime($data->date1)) ?? '' }} @if($data->is_approved == 1) Approved @else Not Approved @endif @if($auth->is_admin == 1 && $data->is_approved == 0) @endif @can('driveway_sheet_show') @endcan @if($data->is_approved == 0) @can('driveway_sheet_edit') @endcan @can('driveway_sheet_delete')
@endcan @endif
@endsection @section('scripts') @endsection