@extends('layouts.inspinia.app') @section('title', 'Detalle Asignacion') @section('titulopagina', 'Detalle Asignacion') @section('content')

Buscar Asignación

@csrf
@foreach ($subestado as $item) @if ($item->cod_estado == 0)

{{ strtoupper($item->descripcion) }}

@elseif($item->cod_estado == 3)

{{ strtoupper($item->descripcion) }}

@elseif($item->cod_estado == 1)

{{ strtoupper($item->descripcion) }}

@else @endif @endforeach
@foreach ($datos as $item)

Detalle Asignación

OS {{ $item->ORDEN }}
Cliente:
Ok
Nombre:
Direccion:
{{ ucwords(strtolower($item->DIRECCION)) }}
Teléfono:
Agencia:
{{ ucwords(strtolower($item->AGENCIA)) }}
Recibe:
{{ ucwords(strtolower($item->RECIBE)) }}
Rut:
{{ ucwords($item->RUT) }}
@endforeach
Traza
@foreach ($traza as $item) @endforeach
Estado SubEstado Chofer Gestion
{{ $item->ESTADO }} {{ $item->SUB_ESTADO }} {{ ucwords(strtolower($item->CHOFER)) }} {{ date('d/m/Y H:i', strtotime($item->GESTION)) }}
Ubicacion entrega

Entregado en:

Ubicacion OS

Destino:

@foreach ($datos as $item) {{ ucwords(strtolower($item->DIRECCION)) }} @endforeach
@foreach ($evidencia as $item)
Evidencias Visita: {{ $item->VISITA }} {{ date('d/m/Y H:i', strtotime($item->FECHA)) }}
@if ($item->COD_ESTADO == 0) @elseif($item->COD_ESTADO == 3) @elseif($item->COD_ESTADO == 1 || $item->COD_ESTADO == 5 ) @if(is_null($item->OBSERVACION)) @else @endif @else @endif
@if (isset($item->FOTO1))
Download
@else
Download
@endif @if (isset($item->FOTO2))
@else
Download
@endif @if (isset($item->CEDIBLE))
Download
@else
Download
@endif @if (isset($item->CEDIBLE2))
@endif
@endforeach
@endsection @section('javascript') @endsection