@extends('layouts.app') @section('title', 'Inventario Físico') @section('content')
Gestiona los inventarios físicos realizados en los almacenes
| 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 | |
|
No hay inventarios físicos registrados Crear Primer Inventario |
|||||||||