@extends('layouts.app') @section('title', 'Inventario Físico') @section('content')

Inventario Físico

Gestiona los inventarios físicos realizados en los almacenes

Nuevo Inventario
@if(session('success')) @endif @if(session('error')) @endif
Filtros
Limpiar
Lista de Inventarios Físicos
@forelse($inventories as $inventory) @empty @endforelse
Código Nombre Almacén Tipo Fecha Inicio Fecha Fin Estado Creado por Varianza Total Acciones
{{ $inventory->inventory_number }} {{ $inventory->name }} @if($inventory->description)
{{ Str::limit($inventory->description, 50) }} @endif
{{ $inventory->warehouse->name ?? 'N/A' }} @php $typeLabels = [ 'full' => 'Completo', 'partial' => 'Parcial', 'cycle_count' => 'Cíclico', 'spot_check' => 'Verificación' ]; @endphp {{ $typeLabels[$inventory->type] ?? $inventory->type }} {{ $inventory->start_date->format('d/m/Y') }} {{ $inventory->end_date ? $inventory->end_date->format('d/m/Y') : '-' }} @php $statusColors = [ 'planned' => 'warning', 'in_progress' => 'info', 'completed' => 'success', 'cancelled' => 'danger' ]; $statusLabels = [ 'planned' => 'Planificado', 'in_progress' => 'En Progreso', 'completed' => 'Completado', 'cancelled' => 'Cancelado' ]; @endphp {{ $statusLabels[$inventory->status] ?? $inventory->status }} {{ $inventory->createdBy->name ?? 'N/A' }} @if($inventory->total_variance_usd != 0) ${{ number_format($inventory->total_variance_usd, 2) }} @else $0.00 @endif
@if($inventory->status === 'planned')
@csrf
@csrf @method('DELETE')
@elseif($inventory->status === 'in_progress')
@csrf
@endif

No hay inventarios físicos registrados

Crear Primer Inventario
@if($inventories->hasPages())
{{ $inventories->appends(request()->query())->links() }}
@endif
@endsection