Código del Ajuste:
{{ $adjustment->adjustment_code }}
Tipo de Ajuste:
{{ $adjustment->adjustment_type_formatted }}
Estado:
@switch($adjustment->status)
@case('pending')
Pendiente
@break
@case('approved')
Aprobado
@break
@case('rejected')
Rechazado
@break
@case('completed')
Completado
@break
@endswitch
Prioridad:
@switch($adjustment->priority)
@case('low')
Baja
@break
@case('normal')
Normal
@break
@case('high')
Alta
@break
@case('urgent')
Urgente
@break
@endswitch
Fecha de Creación:
{{ $adjustment->created_at->format('d/m/Y H:i:s') }}
Creado por:
{{ $adjustment->createdBy->name ?? 'N/A' }}
Información del Producto
Producto:
{{ $adjustment->product->name }}
Código: {{ $adjustment->product->code }}
Ubicación:
{{ $adjustment->location_formatted }}
@if($adjustment->unit_cost)
Costo Unitario:
${{ number_format($adjustment->unit_cost, 2) }}
@endif
Información del Lote
@if($adjustment->batch_number)
Número de Lote:
{{ $adjustment->batch_number }}
@endif
@if($adjustment->serial_number)
Número de Serie:
{{ $adjustment->serial_number }}
@endif
@if($adjustment->expiration_date)
Fecha de Vencimiento:
{{ $adjustment->expiration_date->format('d/m/Y') }}
@endif
@endif
Auditoría
Creado por:
{{ $adjustment->createdBy->name ?? 'N/A' }}
Fecha de creación:
{{ $adjustment->created_at->format('d/m/Y H:i:s') }}
@if($adjustment->approvedBy)
Aprobado por:
{{ $adjustment->approvedBy->name }}
Fecha de aprobación:
{{ $adjustment->approved_at->format('d/m/Y H:i:s') }}
@endif
@if($adjustment->executedBy)
Ejecutado por:
{{ $adjustment->executedBy->name }}
Fecha de ejecución:
{{ $adjustment->executed_at->format('d/m/Y H:i:s') }}
@endif