@if($empresaGlobal && $empresaGlobal->logo_url) @endif

{{ $empresaGlobal->nombre_comercial ?? $comprobante->emisor_razon_social }}

{{ $comprobante->emisor_razon_social }}

RUC: {{ $comprobante->emisor_ruc }}

@if($empresaGlobal && $empresaGlobal->direccion)

{{ $empresaGlobal->direccion }}

@endif @if($empresaGlobal && $empresaGlobal->telefono)

Tel: {{ $empresaGlobal->telefono }}

@endif
{{ strtoupper($comprobante->tipo_documento_nombre) }} ELECTRÓNICA
{{ $comprobante->numero_completo }}

Fecha: {{ $comprobante->fecha_emision->format('d/m/Y') }} {{ substr($comprobante->hora_emision, 0, 5) }}

Cliente: {{ $comprobante->receptor_razon_social }}

{{ $comprobante->receptor_tipo_doc_label }}: {{ $comprobante->receptor_numero_doc }}

@if($comprobante->receptor_direccion)

Dir: {{ Str::limit($comprobante->receptor_direccion, 40) }}

@endif @if($comprobante->venta && $comprobante->venta->detalles->count())
@foreach($comprobante->venta->detalles as $d) @endforeach
Descripción Total
{{ $d->descripcion }}
{{ number_format($d->cantidad, 2) }} × {{ $comprobante->moneda }}{{ number_format($d->precio_unitario, 2) }}
{{ $comprobante->moneda }}{{ number_format($d->total, 2) }}
@endif

Op. Gravadas:{{ $comprobante->moneda }} {{ number_format($comprobante->total_gravadas, 2) }}

IGV (18%):{{ $comprobante->moneda }} {{ number_format($comprobante->total_igv, 2) }}

@if($comprobante->total_descuentos > 0)

Descuento:-{{ $comprobante->moneda }} {{ number_format($comprobante->total_descuentos, 2) }}

@endif

TOTAL:{{ $comprobante->moneda }} {{ number_format($comprobante->importe_total, 2) }}

SON: {{ $comprobante->importe_letras }}

@if($comprobante->qr_data)
QR

Representación impresa

@endif @if($comprobante->estado_sunat === 'aceptado')
✓ ACEPTADO POR SUNAT
@elseif($comprobante->estado_sunat === 'rechazado')
✗ RECHAZADO
@else
⏳ PENDIENTE
@endif @if($comprobante->hash)

Hash: {{ Str::limit($comprobante->hash, 60) }}

@endif