@extends('layouts.app') @section('title', 'Ajustes de Inventario') @section('content')

Ajustes de Inventario

Gestiona los ajustes de stock en ubicaciones

Nuevo Ajuste
Total Ajustes
{{ $stats['total_adjustments'] }}
Pendientes
{{ $stats['pending_adjustments'] }}
Aumentos
{{ $stats['total_increases'] }}
Disminuciones
{{ $stats['total_decreases'] }}
Filtros
Limpiar
Lista de Ajustes
@forelse($adjustments as $adjustment) @empty @endforelse
Código Tipo Producto Ubicación Cantidad Antes Cantidad Después Diferencia Estado Prioridad Creado por Fecha Acciones
{{ $adjustment->adjustment_code }} {{ $adjustment->adjustment_type_formatted }}
{{ $adjustment->product->name }}
{{ $adjustment->product->code }}
{{ $adjustment->location_formatted }} {{ $adjustment->quantity_before_formatted }} {{ $adjustment->quantity_after_formatted }}
{{ $adjustment->quantity_difference_formatted }}
{!! $adjustment->adjustment_direction_formatted !!}
{!! $adjustment->status_badge !!} {!! $adjustment->priority_badge !!} {{ $adjustment->createdBy->name ?? 'N/A' }} {{ $adjustment->created_at->format('d/m/Y H:i') }}
@if($adjustment->status === 'pending') @endif @if($adjustment->canBeApproved())
@csrf
@endif @if($adjustment->canBeRejected())
@csrf
@endif @if($adjustment->canBeExecuted())
@csrf
@endif

No hay ajustes registrados

Crear Primer Ajuste
@if($adjustments->hasPages())
{{ $adjustments->appends(request()->query())->links() }}
@endif
@endsection @push('scripts') @endpush