@extends('layouts.planti') @section('contenido')
{{-- ALERTAS --}} @if(Session::has('success'))
{{ Session::get('success') }}
@endif {{-- HEADER --}}

📊 Reporte OTIF

{{-- CARD FILTROS --}}
{{-- BOTÓN DESCARGA --}}
@csrf
{{-- LOADER --}}
{{-- RESULTADOS --}} @if(isset($data) && $data->count() > 0)
📋 Resultados ({{ $data->total() }})
@foreach($data as $row) @endforeach
Fecha Apertura DO Pedido Contenedor Tamaño Incoterm ETA Notificación Prod Disponible Programación Fecha Req
{{ $row->fecha_apertura ? \Carbon\Carbon::parse($row->fecha_apertura)->format('Y-m-d') : '' }} {{ $row->DO }} {{ $row->PED }} {{ $row->CONTENEDOR }} {{ $row->NOMBRE_TAMANO_CONTENEDOR }} @if(!empty($row->INCOTERM)) {{ $row->INCOTERM }} @else - @endif {{ $row->ETA }} {{ $row->Fecha_notificacion_del_pedido }} {{ $row->PROD_DISPONIBLE_CONFIRMADO_POR_PLANEACION }} {{ $row->SOLICITUD_PROGRAMACION_XL }} {{ $row->Fecha_requerida_unidad_en_Ctg }}
{{-- PAGINACIÓN --}}
{{ $data->links() }}
@endif {{-- SIN RESULTADOS --}} @if(isset($data) && $data->count() == 0 && request()->has('buscar'))
⚠️ No se encontraron resultados
@endif
{{-- SCRIPT --}} @endsection