Código del Movimiento:
{{ $movement->movement_code }}
Tipo de Movimiento:
{{ $movement->movement_type_formatted }}
Estado:
@switch($movement->status)
@case('pending')
Pendiente
@break
@case('in_progress')
En Progreso
@break
@case('completed')
Completado
@break
@case('cancelled')
Cancelado
@break
@endswitch
Prioridad:
@switch($movement->priority)
@case('low')
Baja
@break
@case('normal')
Normal
@break
@case('high')
Alta
@break
@case('urgent')
Urgente
@break
@endswitch
Fecha de Creación:
{{ $movement->created_at->format('d/m/Y H:i:s') }}
Creado por:
{{ $movement->createdBy->name ?? 'N/A' }}
Información del Producto
Producto:
{{ $movement->product->name }}
Código: {{ $movement->product->code }}
Cantidad:
{{ $movement->quantity_formatted }}
@if($movement->unit_cost)
Costo Unitario:
${{ number_format($movement->unit_cost, 2) }}
Costo Total:
{{ $movement->total_cost_formatted }}
@endif
Información del Lote
@if($movement->batch_number)
Número de Lote:
{{ $movement->batch_number }}
@endif
@if($movement->serial_number)
Número de Serie:
{{ $movement->serial_number }}
@endif
@if($movement->expiration_date)
Fecha de Vencimiento:
{{ $movement->expiration_date->format('d/m/Y') }}
@endif
@endif
Auditoría
Creado por:
{{ $movement->createdBy->name ?? 'N/A' }}
Fecha de creación:
{{ $movement->created_at->format('d/m/Y H:i:s') }}
@if($movement->approvedBy)
Aprobado por:
{{ $movement->approvedBy->name }}
Fecha de aprobación:
{{ $movement->approved_at->format('d/m/Y H:i:s') }}
@endif
@if($movement->executedBy)
Ejecutado por:
{{ $movement->executedBy->name }}
Fecha de ejecución:
{{ $movement->started_at->format('d/m/Y H:i:s') }}
@endif
@if($movement->completed_at)
Fecha de finalización:
{{ $movement->completed_at->format('d/m/Y H:i:s') }}
@endif