@props(['thead','tbody','data','route']) @if ($thead && $tbody)
# | @foreach ($thead as $key => $th){{$th}} | @endforeach
@if(Route::has($route.'.create') && Gate::check('haveaccess', $route.'.create'))
|
|
---|---|---|---|
{{ $row->id }} | @else{{ ($key+1)+(($data->currentPage()-1)*$data->perPage()) }} | @endcan @foreach ($tbody as $key => $td)
@if($td == 'status' || $td == 'full_access')
|
@endforeach
@if(Route::has($route.'.edit') && Gate::check('haveaccess', $route.'.edit'))
|