@extends('layouts.app') @section('htmlheader_title') Historial Formularios Preoperacionales @endsection @section('contentheader_title') @endsection @section('main-content')
| Fecha Programación | Fecha Formulario | Vehículo | Conductor | Km Inicial | Km Final | Km Recorridos | Estado Vehículo | Estado Formulario | Ver PDF | @if(in_array(Auth::user()->UsRol, Permisos::CONDUCTOR) || in_array(Auth::user()->UsRol2, Permisos::CONDUCTOR))Ver Detalles | @endif
|---|---|---|---|---|---|---|---|---|---|---|
| {{ date('d/m/Y', strtotime($programacion->ProgVehFecha)) }} | @if($programacion->ProgVehFechaPreoperacional) {{ date('d/m/Y h:i A', strtotime($programacion->ProgVehFechaPreoperacional)) }} @else N/A @endif | {{ $vehiculoPlaca }} | {{ $conductorNombre }} | {{ $programacion->ProgVehKmInicial ?? 'N/A' }} | {{ $programacion->ProgVehKmFinal ?? 'N/A' }} | @if($kmRecorridos !== null) {{ $kmRecorridos }} km @else N/A @endif | @if($programacion->ProgVehEstadoVehiculo) @if($programacion->ProgVehEstadoVehiculo == 'Funcional') {{ $programacion->ProgVehEstadoVehiculo }} @elseif($programacion->ProgVehEstadoVehiculo == 'Requiere Mantenimiento') {{ $programacion->ProgVehEstadoVehiculo }} @else {{ $programacion->ProgVehEstadoVehiculo }} @endif @else N/A @endif | @if($programacion->ProgVehPreoperacionalCompletado) Completado @else Pendiente @endif | @if($programacion->ProgVehPdfPreoperacional) Ver PDF @else No disponible @endif | @if(in_array(Auth::user()->UsRol, Permisos::CONDUCTOR) || in_array(Auth::user()->UsRol2, Permisos::CONDUCTOR))Ver | @endif