Cantidad Actual: {{ $datos['cantidad_actual'] }} [{{ $datos['unidad'] }}] @if ($datos['cantidad_actual'] <= 0) @endif
@if ($datos['ultimo_egreso'])Último Egreso: {{ $datos['ultimo_egreso']['cantidad'] / 1 }} [{{ $datos['unidad'] }}] ({{ \Carbon\Carbon::parse($datos['ultimo_egreso']['fecha'])->format('d-m-Y') }})
@elseÚltimo Egreso: No disponible
@endif| Código | Usuario | Tipo | Estado | Fecha | Acciones | ||||
|---|---|---|---|---|---|---|---|---|---|
| SUS-{{ $mov->id }} | {{ $mov->user->nombre }} {{ $mov->user->apellido }} |
@if ($mov->tipo == 1)
Entrada
@else
Salida
@endif
|
{{ $mov->estado }} | {{ \Carbon\Carbon::parse($mov->tiempo)->format('d-m-Y H:m') }} | @if ($mov->tipo == 0) @if (auth()->user()->role->rolModuloPermisos->where('modulo_id', 30)->where('permiso_id', 1)->isNotEmpty()) @if ($mov->estado != 'Entregado') @if ($mov->estado != 'Autorizado' && now()->diffInMinutes($mov->created_at) < 1440) @endif @if ($mov->estado != 'Denegado' && now()->diffInMinutes($mov->created_at) < 1440) @endif @endif @endif @if ($mov->estado == 'Autorizado') @if (auth()->user()->role->id == 7 || auth()->user()->role->id == 1) @endif @endif @endif | ||||
|
|||||||||
Descargar Reporte de salidas de sustancias
{{-- --}} @error('fechaInicio') {{ $message }} @enderror @error('fechaFin') {{ $message }} @enderror