@php $i=1; if($page>1){ $i=$page+1; } @endphp @foreach($services as $key => $service) @php $ourteamtype=ourteamtype( $service->type); @endphp @php $i++; @endphp @endforeach
Id Name Type Image Status Display Order Actions
@if(!in_array($service->id, $idarray)) @endif
{{ $i }} {{ $service->name }}{{ $ourteamtype }} @php $galleries = $service->galleries($categoryId)->get(); @endphp @foreach($galleries as $gallery) @php $imagePath = getgallery($gallery); @endphp @endforeach
@if(!in_array($service->id, $idarray)) @endif
{{ $services->links('vendor.pagination.custom') }}