@php use SimpleSoftwareIO\QrCode\Facades\QrCode; @endphp Recibo

{{ $venta->store->store_name ?? 'Mi Tienda' }}

Dirección: {{ $venta->store->address ?? '' }}
Tel: {{ $venta->store->taxInfo->telefono ?? '' }}
NIT: {{ $venta->store->taxInfo->nit ?? '' }} | NRC: {{ $venta->store->taxInfo->nrc ?? '' }}

Tipo DTE: {{ $venta->tipoDte->nombre ?? 'TICKET' }}
No. Control: {{ $venta->numero_control ?? 'N/A' }}
Código Generación: {{ $venta->codigo_generacion ?? 'N/A' }}
Sello de Recibido: {{ $dteResponse->sello_recibido ?? 'N/A' }}

Fecha: {{ $venta->sale_date->format('d/m/Y H:i') }}
Atendió: {{ $venta->user->name ?? 'Cajero' }}

Cliente: {{ $venta->customer->name ?? 'Consumidor Final' }}
@if($venta->customer) @if($venta->customer->numDocumento) Doc: {{ $venta->customer->numDocumento }}
@endif @if($venta->customer->nrc) NRC: {{ $venta->customer->nrc }}
@endif @endif

@foreach ($venta->details as $item)

{{ $item->productType->name }} x{{ $item->quantity }} ${{ number_format($item->subtotal, 2) }}

@endforeach
@if ($venta->total_exenta > 0)

Exento: ${{ number_format($venta->total_exenta, 2) }}

@endif @if ($venta->total_no_gravado > 0)

No Gravado: ${{ number_format($venta->total_no_gravado, 2) }}

@endif @if ($venta->total_amount > 0)

Subtotal: ${{ number_format($venta->total_amount, 2) }}

@endif @if ($venta->tax_amount > 0)

IVA 13%: ${{ number_format($venta->tax_amount, 2) }}

@endif @if ($venta->discount_amount > 0)

Descuento: -${{ number_format($venta->discount_amount, 2) }}

@endif

Total: ${{ number_format($venta->net_amount, 2) }}

Documento generado electrónicamente
¡Gracias por su compra!