@if($registro->person->person_config->ruta_logo_fa !='') person->person_config->ruta_logo_fa}") }}" alt="" style="max-height: 350px"> @else

{{ $registro->person->field_name1 }}

@endif
DESPACHO {{$registro->id}}
Ponderacion: {{$registro->is_ponderacion_autom? 'Automatica':'Manual'}}
Total:$ {{ number_format($registro->total, 2, ',', '.') }}
Cotizacion:$ {{ number_format($registro->cotizacion, 2, ',', '.') }}
{{ $registro->moneda->simbolo }} {{ number_format($registro->total/$registro->cotizacion, 2, ',', '.') }}
N°: {{ str_pad($registro->id, 5, "0", STR_PAD_LEFT) }}
Fecha: {{ date("d/m/Y", strtotime($registro->fecha)) }}
{{strtoupper($registro->person->field_name1)}}
Domicilio: {{ ($registro->person->address?? '"------" CP: "----"') }}
Email: {{ ($registro->person->mail_principal? $registro->person->mail_principal->mail : '"----@------.---"') }}
Condición frente al IVA: {{ ($registro->person->person_config->conditionIva->description) }}
Es Garantia: {{ ($registro->is_garantia? 'SI':'NO') }}
CUIT: {{ $registro->person->document }}
Ingresos Brutos: {{ $registro->person->person_config->iibb?? $registro->person->document}}
Inicio de Actividades: {{ date("d/m/Y", strtotime($registro->person->person_config->inicio_actividades))}}
@if($registro->person_relationated)
Razón Social {{$registro->person_relationated->field_name1}}
Domicilio: {{$registro->person_relationated->address}}
CUIT: {{$registro->person_relationated->document}}
Condición de IVA: {{ ($registro->person->person_config->conditionIva->description?? '--------') }}
@endif