@extends('../layouts/partials/header') @section('content')
INSPECCIÓN #{{ $inspeccion->id }} {{ $inspeccion->contenedor }}
{{ $inspeccion->tipo }} @if($inspeccion->naviera)  • {{ $inspeccion->naviera }} @endif @if($inspeccion->fecha)  • {{ \Carbon\Carbon::parse($inspeccion->fecha)->format('d/m/Y') }} @endif
@csrf @method('put')
INSPECCIÓN

Los campos marcados con (*) son mandatorios.

@if(session('success')) @endif {{-- @error('residencia') @enderror --}} @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif
Folio: {{$inspeccion->id}}
reforzado ?? false) ? 'checked' : '' }}>

@if($inspeccion) @else

Imagen no disponible

@endif
EIR Entrada
@csrf
Regresar
@csrf @method('put')
Nomenclaturas

@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif

do ?? 0) ? 'checked' : '' }}>

%

a ?? 0) ? 'checked' : '' }}>
%
m ?? 0) ? 'checked' : '' }}> (M) Manchas
%
ox ?? 0) ? 'checked' : '' }}>
%
ma ?? 0) ? 'checked' : '' }}>
%
oq ?? 0) ? 'checked' : '' }}>
%
cs ?? 0) ? 'checked' : '' }}>
%
pd ?? 0) ? 'checked' : '' }}>
%
pr ?? 0) ? 'checked' : '' }}>
%
pl ?? 0) ? 'checked' : '' }}>
%
sp ?? 0) ? 'checked' : '' }}>
%
fl ?? 0) ? 'checked' : '' }}>
%
g ?? 0) ? 'checked' : '' }}>
%
r ?? 0) ? 'checked' : '' }}>
%
hc ?? 0) ? 'checked' : '' }}>
%
gr ?? 0) ? 'checked' : '' }}>
%
q ?? 0) ? 'checked' : '' }}>
%
hd ?? 0) ? 'checked' : '' }}>
%
td ?? 0) ? 'checked' : '' }}>
%
ta ?? 0) ? 'checked' : '' }}>
%
orr ?? 0) ? 'checked' : '' }}>
%
c ?? 0) ? 'checked' : '' }}>
%
de ?? 0) ? 'checked' : '' }}>
%
nc ?? 0) ? 'checked' : '' }}>
%
ed ?? 0) ? 'checked' : '' }}>
%
Hallazgos
@php $campos = [ 'do' => 'Doblado', 'm' => 'Manchas', 'a' => 'Abollado', 'ox' => 'Oxidado', 'ma' => 'Manchado de aceite', 'oq' => 'Olor químico', 'cs' => 'Clavos salidos', 'pd' => 'Piso deteriorado', 'pr' => 'Piso roto', 'pl' => 'Piso levantado', 'sp' => 'Polvo en piso', 'fl' => 'Filtración de luz', 'g' => 'Gotea', 'r' => 'Rallado', 'hc' => 'Hoyo clavos', 'gr' => 'Grafiti', 'q' => 'Quemado', 'hd' => 'Hule desprendido', 'td' => 'Tubo doblado', 'ta' => 'Techo Abombado', 'orr'=> 'Orificio', 'c' => 'Cortado', 'de' => 'Desgastado', 'nc' => 'No cierra', 'ed' => 'Empaque dañado', ]; @endphp @foreach ($campos as $clave => $etiqueta) @php $porcentaje = $inspeccion->{$clave . '_por'}; $uso_cli = $inspeccion->{$clave . '_uso_cli'}; @endphp @if ($porcentaje > 0 || $uso_cli) ({{ strtoupper($clave) }}) {{ $etiqueta }}: @if ($porcentaje > 0) {{ $porcentaje }} % @endif Responsable: @if ($uso_cli == 'U') USUARIO @elseif ($uso_cli == 'C') CLIENTE @else N/A @endif
@endif @endforeach
Comentarios: {{ $inspeccion->nome_nota }}
Clase: {{ $inspeccion->clase }}
Dañado: {{ $inspeccion->danado == 'S' ? 'Sí' : 'No' }}
Requiere Limpieza: {{ $inspeccion->rlimpieza == 'S' ? 'Sí' : 'No' }}
Regresar
Evidencia Fotográfica

@csrf @method('put')
@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif










Foto 1
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 2
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 3
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 4
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 5
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 6
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 7
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 8
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 9
@if($inspeccion) @else

Imagen no disponible

@endif
Foto 10
@if($inspeccion) @else

Imagen no disponible

@endif
@csrf @method('put')
Limpieza

@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif
Regresar
{{ optional($inspeccion->user)->name }}
{{ $inspeccion->created_at?->format('Y-m-d H:i') }}
@csrf @method('put')
Reparación

@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif
{{--
--}}

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif

@if($inspeccion) @else

Imagen no disponible

@endif
Regresar
{{ optional($inspeccion->user)->name }}
{{ $inspeccion->created_at?->format('Y-m-d H:i') }}
@csrf @method('put')
REGISTRO DE PAGO
@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif
Regresar
@csrf @method('put')
COTIZACIÓN
@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif
Regresar
@csrf @method('put')
DICTAMEN DE INSPECCION
@if(session('success')) @endif @if ( $errors->any() )
    @foreach ( $errors->all() as $error )
  • {{ $error }}
  • @endforeach
@endif

Regresar
{{-- Panel informativo del contenedor --}}
Contenedor
{{ $inspeccion->contenedor }}
Tipo
{{ $inspeccion->tipo }}
Naviera
{{ $inspeccion->naviera ?: '—' }}
{{-- Estado de salida prominente --}} @if($inspeccion->sal_fecha) CON SALIDA
{{ \Carbon\Carbon::parse($inspeccion->sal_fecha)->format('d/m/Y') }} @if($inspeccion->sal_hora)  {{ $inspeccion->sal_hora }} @endif
@else SIN SALIDA @endif
@if($inspeccion->sal_booking)
Booking registrado: {{ $inspeccion->sal_booking }} Ver en catálogo
@endif
@csrf @method('put') @if(session('success')) @endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- Grupo: Fecha y hora de salida --}}
Fecha y hora de salida
{{-- Grupo: Transporte --}}
Datos del transporte
{{-- Grupo: Booking y ventanilla --}}
Booking y atención
{{-- Alerta de verificación de booking --}}
{{-- Notas --}}
Regresar
{{-- Título de sección --}}
EDI CODECO D95
{{-- Alertas de sesión (aplican a ambos formularios) --}} @if(session('success')) @endif @if(session('warning')) @endif @if(session('edi_download_path')) @endif @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{-- ═══════════════════════════════════════════════════ CARD GATE-IN ════════════════════════════════════════════════════ --}}
GATE-IN (ENTRADAS)
{{-- Estado de transmisión Gate-In --}} @if($inspeccion->gate_in_at) @if($inspeccion->gate_in_transmitted === true)
TRANSMITIDO {{ $inspeccion->gate_in_trans_message }} • Generado por {{ $inspeccion->gateInUser->name ?? 'N/A' }} el {{ \Carbon\Carbon::parse($inspeccion->gate_in_at)->format('d/m/Y H:i:s') }}
@elseif($inspeccion->gate_in_transmitted === false)
ERROR EN TRANSMISIÓN {{ $inspeccion->gate_in_trans_message }} • Generado por {{ $inspeccion->gateInUser->name ?? 'N/A' }} el {{ \Carbon\Carbon::parse($inspeccion->gate_in_at)->format('d/m/Y H:i:s') }}
@else
PENDIENTE DE TRANSMISIÓN Generado por {{ $inspeccion->gateInUser->name ?? 'N/A' }} el {{ \Carbon\Carbon::parse($inspeccion->gate_in_at)->format('d/m/Y H:i:s') }} — aún no se ha enviado al puerto.
@endif @else
PENDIENTE DE TRANSMISIÓN Este EDI Gate-In no ha sido enviado todavía.
@endif {{-- Tabla resumen de datos del contenedor (Gate-In) --}}
Contenedor {{ $inspeccion->contenedor }} Tipo {{ $inspeccion->tipo }}
Naviera {{ $inspeccion->naviera ?: '—' }} Transporte {{ $inspeccion->sal_transporte ?: '—' }}
Operador {{ $inspeccion->sal_operador ?: '—' }}
{{-- Formulario Gate-In --}}
@csrf
{{-- ═══════════════════════════════════════════════════ CARD GATE-OUT ════════════════════════════════════════════════════ --}}
GATE-OUT (SALIDAS)
{{-- Estado de transmisión Gate-Out --}} @if($inspeccion->gate_out_at) @if($inspeccion->gate_out_transmitted === true)
TRANSMITIDO {{ $inspeccion->gate_out_trans_message }} • Generado por {{ $inspeccion->gateOutUser->name ?? 'N/A' }} el {{ \Carbon\Carbon::parse($inspeccion->gate_out_at)->format('d/m/Y H:i:s') }}
@elseif($inspeccion->gate_out_transmitted === false)
ERROR EN TRANSMISIÓN {{ $inspeccion->gate_out_trans_message }} • Generado por {{ $inspeccion->gateOutUser->name ?? 'N/A' }} el {{ \Carbon\Carbon::parse($inspeccion->gate_out_at)->format('d/m/Y H:i:s') }}
@else
PENDIENTE DE TRANSMISIÓN Generado por {{ $inspeccion->gateOutUser->name ?? 'N/A' }} el {{ \Carbon\Carbon::parse($inspeccion->gate_out_at)->format('d/m/Y H:i:s') }} — aún no se ha enviado al puerto.
@endif @else
PENDIENTE DE TRANSMISIÓN Este EDI Gate-Out no ha sido enviado todavía.
@endif {{-- Tabla resumen de datos del contenedor (Gate-Out) --}}
Contenedor {{ $inspeccion->contenedor }} Tipo {{ $inspeccion->tipo }}
Naviera {{ $inspeccion->naviera ?: '—' }} Booking {{ $inspeccion->sal_booking ?: '—' }}
Transporte {{ $inspeccion->sal_transporte ?: '—' }} Operador {{ $inspeccion->sal_operador ?: '—' }}
Sello {{ $inspeccion->sello ?: '—' }} Fecha Sal. @if($inspeccion->sal_fecha) {{ \Carbon\Carbon::parse($inspeccion->sal_fecha)->format('d/m/Y') }} @if($inspeccion->sal_hora)  {{ $inspeccion->sal_hora }} @endif @else Sin fecha @endif
{{-- Formulario Gate-Out --}}
@csrf
Lista de Inspecciones
@endsection @extends('../layouts/partials/footer')