@php $customer = $technical_service->customer; $states = ['Bueno', 'Regular', 'Malo']; @endphp
FORMATO DE RECEPCIÓN DE VEHÍCULO

{{ $company->name }}

{{ 'RUC ' . $company->number }}

{{ $establishment->address !== '-' ? $establishment->address : '' }} {{ $establishment->district_id !== '-' ? ', ' . $establishment->district->description : '' }} {{ $establishment->province_id !== '-' ? ', ' . $establishment->province->description : '' }} {{ $establishment->department_id !== '-' ? '- ' . $establishment->department->description : '' }}

@isset($establishment->trade_address)

{{ $establishment->trade_address !== '-' ? 'D. Comercial: ' . $establishment->trade_address : '' }}

@endisset

{{ $establishment->telephone !== '-' ? 'Central telefónica: ' . $establishment->telephone : '' }}

{{ $establishment->email !== '-' ? : ' . $establishment->email : '' }}

@isset($establishment->web_address)

{{ $establishment->web_address !== '-' ? 'Web: ' . $establishment->web_address : '' }}

@endisset @isset($establishment->aditional_information)

{{ $establishment->aditional_information !== '-' ? $establishment->aditional_information : '' }}

@endisset
DATOS GENERALES DATOS DEL VEHICULO

Raz. Social: {{ $customer->name }}

Dirección: {{ $customer->address }}

Placa: {{ $technical_service_car->plate_number }}

Ases. Comercial: {{ $technical_service->user->name }}

N° Flota / Kilometraje: {{ $technical_service_car->km }}

Color: {{ $technical_service_car->color }} / Año: {{ $technical_service_car->year }}

Chasis / VIN: {{ $technical_service_car->chasis }}

Venc. SOAT: {{ $technical_service_car->date_soat_due }}

Venc. Rev. Tec.: {{ $technical_service_car->date_check_due }}

Cert. Anual: {{ $technical_service_car->certificate }}

Marca: {{ $technical_service_car->brand ?? "-"}} Model: {{ $technical_service_car->model ?? "-" }}

Fecha: {{ $technical_service->date_of_issue->format('Y-m-d') }} Hora: {{ $technical_service->time_of_issue }}

ESTADOS
Bueno Regular Malo
@foreach ($list1 as $item) @foreach ($states as $state) @endforeach @endforeach
ACCESORIOS EXTERNOS
Descripción Cant
{{ $item['label'] }} {{ $item['quantity'] }} @if ($item['state'] == $state) X @endif
AUTORIZACIONES
Autorizo conducir mi vehículo para pruebas en exteriores del Taller {{ $technical_service_car->auth_drive ? 'X' : '' }}
Autorizo enviar mi vehículo para trabajos de terceros en Talleres de su elección {{ $technical_service_car->move_on ? 'X' : '' }}
Declaro que no existen elementos de valor dentro del vehiculo {{ $technical_service_car->no_value_things ? 'X' : '' }}
Acepto retirar mi vehículo en un máximo de 3 dias, luego de finalizado el servicio; caso contrario asumiré un costo de 5/7.00 diarios por cochera (interna y/o externa) {{ $technical_service_car->cost_for_days ? 'X' : '' }}
Observaciones
{{ $technical_service_car->observations }}
@foreach ($list2 as $item) @foreach ($states as $state) @endforeach @endforeach
ACCESORIOS INTERNOS
Descripción Cant
{{ $item['label'] }} {{ $item['quantity'] }} @if ($item['state'] == $state) X @endif
@foreach ($list3 as $item) @foreach ($states as $state) @endforeach @endforeach
HERRAMIENTAS
Descripción Cant
{{ $item['label'] }} {{ $item['quantity'] }} @if ($item['state'] == $state) X @endif
@foreach ($list4 as $item) @foreach ($states as $state) @endforeach @endforeach
DOCUMENTOS DE VEHICULO
Descripción Cant
{{ $item['label'] }} {{ $item['quantity'] }} @if ($item['state'] == $state) X @endif
Gasolina en el tanque: {{ $technical_service_car->gasoline_level }}%