2. Cliente y Servicio
| Cliente | {{ $client?->name ?? '—' }} |
| CUIT / IVA | {{ $client?->tax_id ?? '—' }}@if($client?->tax_condition) — {{ $client->tax_condition }}@endif |
| Contacto | {{ $client?->billing_email ?? '—' }} |
| Apertura | {{ $service->opened_at->format('d/m/Y H:i') }} |
| Cierre | {{ $service->closed_at ? $service->closed_at->format('d/m/Y H:i') : '—' }} |
| Técnico | {{ $service->assignedTo->name ?? '—' }} |
@php
$resultado = $service->attributes['resultado'] ?? $service->attributes['conformidad'] ?? null;
@endphp
| Resultado |
@if($resultado)
@php $r = strtolower($resultado); @endphp
@if(str_contains($r, 'conforme') && !str_contains($r, 'no'))
{{ $resultado }}
@elseif(str_contains($r, 'no conforme') || str_contains($r, 'no-conforme'))
{{ $resultado }}
@else
{{ $resultado }}
@endif
@else
—
@endif
|