@extends('layout/principal') @section('titulo', 'Home') @section('content') @php //dd($operacion_detalle); //dd($operacion_detalle, $estados, $propietarios, $documentos); //dd(get_defined_vars()); @endphp @php if (isset($estados) && count($estados) > 0) { //$ultimo_estado_nombre = end($estados)->estado_nombre; $ultimo_estado_fecha = end($estados)->estado_fecha; } else { //$ultimo_estado_nombre = '---'; $ultimo_estado_fecha = '---'; } @endphp
ALZAMIENTO DE PRENDA

{{-- Mensajes estandar de Laravel --------}} @if (isset($errors) && $errors->any()) @endif {{-- Mensajes de Session personalizados --}} @if (Session::has('success'))
{{ Session::get('success') }}
@endif @if (Session::has('danger'))
{{ Session::get('danger') }}
@endif
Mandante: {{$operacion_detalle->mandante}}
Operación Prenda Chile: {{$operacion_detalle->id_operacion_detalle}}
Editar
{{-- --}}

{{-- -------------- Cliente del mandante ------------ --}}
{{$operacion_detalle->razon_social_cliente}} {{$operacion_detalle->rut_cliente}}
{{-- -------------- Propietarios vehículo ------------ --}}
@foreach ($propietarios as $propietario) @endforeach
{{$propietario->propietario_razon_social}} {{$propietario->propietario_rut}}
{{-- ------------------ Comentarios ---------------- --}}
{{-- ------------------ Email cliente ---------------- --}}

{{--
--}}
{{--
--}}
{{-- -------------- Documentos del proceso ------------ --}} {{--
Documentos del Proceso
--}}
{{-- --}}
@foreach ($documentos as $doc) {{-- --}} --}} {{-- {{$file->getFilename()}} --}} {{-- Si tiene ruta, es un documento guardado en directorio del sistema --}} {{-- @if ($doc->ruta) {{$doc->nombre_documento}} @endif --}} {{-- Si no tiene ruta, es un documento guardado en la base de datos --}} {{-- @if ($doc->id_operacion_detalle_tipo_documento == 4) Borrador Confeccionado @endif @if ($doc->id_operacion_detalle_tipo_documento == 5) Borrador Firmado @endif @if ($doc->id_operacion_detalle_tipo_documento == 29) Certificación Notarial @endif @if ($doc->id_operacion_detalle_tipo_documento == 31) Protocolizado @endif --}} {{-- {{ $doc->nombre_documento}} --}} {{ $doc->nombre_documento}} @endforeach
{{ $file->getCTime() }}{{--{{$file->getFilename()}} {{-- {{Helpers::fechaLatino(\Carbon\Carbon::createFromTimestamp($file->getCTime())->toDateTimeString()) }} --}} {{Helpers::fechaLatino($doc->fecha_carga)}} {{$doc->nombre_usuario}} {{$doc->observaciones}}
{{-- -------------- Estados historial ------------ --}} {{--
Historial de Estados
--}}
{{-- --}}
@foreach ($estados as $estado) @endforeach
{{$estado->estado_nombre}} {{$estado->estado_fecha}} {{$estado->nombre_usuario}}
{{--
--}}
{{--
--}} {{--
--}}
Datos del Vehículo
{{-- ---------------------- Vehiculo ---------------------- --}}
{{--
--}} {{--
--}}
{{--
--}}
{{-- -------------- mostrar/ocultar vehículo ------------ --}} {{--

--}} {{--

--}} {{-- --}} @endsection