@extends('layouts.app') @section('content') @php $offset = ($pests->currentPage() - 1) * $pests->perPage(); @endphp
@can('write_product') Crear plaga @endcan
@include('layouts.alert')
@forelse ($pests as $index => $pest) @if ($pest->image) @else @endif @empty @endforelse
@csrf
Limpiar
# Imagen {{ __('pest.data.name') }} {{ __('pest.data.code') }} {{ __('pest.data.category') }}
{{ $offset + $index + 1 }}min-img{{ $pest->name ?? '-' }} {{ $pest->pest_code ?? '-' }} {{ $pest->pestCategory->category ?? '-' }}
Sin plagas
{{ $pests->links('pagination::bootstrap-5') }}
@endsection