{{ $sysconf->business_name }}
{{ $sysconf->name }}
Ced: {{ $sysconf->identification }} Tel: {{ $sysconf->phone }}
{{ $sysconf->direction }}
@if($sysconf->type_regimen == 'simplificado')
Regimen Simplificado
@endif
Fecha: {{ $invoice->date }} Factura: @if($invoice->payment_method_id ==1) Contado @else Crédito @endif
@if(sysconf()->fe != 'no') @if($invoice->sale->customer->company_name == 'Cliente Generico')
Tiquete Electrónico : {{ $invoice->consecutive_number }}
@else
Factura Electrónica : {{ $invoice->consecutive_number }}
@endif

Clave Numérica: {{ $invoice->key }}

@else
N° Factura: {{ $invoice->numeration }}
@endif @if(($invoice->customer()->count() > 0)) @if($invoice->sale->customer_id != 1)
N° Cédula: {{ $invoice->customer[0]->card }}
@endif
Razon Social: {{ $invoice->customer[0]->company_name }}
@if(strlen($invoice->sale->customer_name) > 0)
A nombre de: {{ $invoice->sale->customer_name }}
@elseif(utf8_decode($invoice->customer[0]->fantasy_name) != utf8_decode( $invoice->customer[0]->company_name))
Nombre Fantasia: {{ $invoice->customer[0]->fantasy_name }}
@endif
Realizado por: {{ $invoice->user->username }}
@else
N° de Proveedor: {{ $invoice->buy[0]->code }}
Razon Social: {{ $invoice->buy[0]->name }}
@endif
COD  IVA  DESC
PRECIO  CANT  TOTAL