@extends('layouts.app') @section('title', 'Inventario — Sistema TIC') @section('content') {{-- Filtros --}}
Limpiar
{{-- Tabla --}}
@forelse($items as $item) @empty @endforelse
Código Nombre Tipo Cantidad Stock mín. Ubicación Estado
{{ $item->code }} {{ $item->name }} @if($item->description)
{{ Str::limit($item->description, 50) }}
@endif
{{ $item->itemType->name }} @if($item->is_low_stock) {{ $item->quantity }} @else {{ $item->quantity }} @endif @if($item->unit_measurement) {{ $item->unit_measurement }} @endif {{ $item->minimum_stock }} {{ $item->location ?? '—' }} {{ $item->itemStatus->name }}
@can('manage-items')
@csrf @method('DELETE')
@endcan
No se encontraron items. @can('manage-items') Crear el primero @endcan
@if($items->hasPages())
{{ $items->links('pagination') }}
@endif
@endsection