@if(file_exists(public_path('logos/main.png'))) Logo
@endif

{{config('app.name', 'DeCoDev')}}

NIT: 123456-7

{{ \Carbon\Carbon::parse($fechaVenta)->format('d/m/Y H:i A') }}

Ticket #: {{ str_pad($factura->id, 6, '0', STR_PAD_LEFT) }}

Atendió: {{ strtoupper($usuario) }}


Cliente: {{ strtoupper($clienteNombre) }}

NIT: {{ $clienteNit }}

@foreach($detallesVenta as $item) @endforeach
Cant Desc Total
{{ $item->cantidad }} {{ $item->nomArt }} @if ($item->descuento > 0)
Desc: -Q{{ number_format($item->descuento * $item->cantidad, 2) }} @endif
Q.{{ number_format($item->total, 2) }}
@if(($descuentoArticulos + $facDescuentoGlobal) > 0) @endif
Subtotal: Q. {{ number_format($totalBruto, 2) }}
Descuentos: - Q. {{ number_format($descuentoArticulos + $facDescuentoGlobal, 2) }}
TOTAL: Q. {{ number_format($facTotalNeto, 2) }}
@if(count($pagos) > 0)

FORMAS DE PAGO:

@foreach($pagos as $pago) @if($pago->referencia) @endif @endforeach
{{ $pago->metodo_pago }} Q. {{ number_format($pago->monto, 2) }}
Ref: {{ $pago->referencia }}
@endif @if($facDesc)
Nota: {{ $facDesc }}
@endif

NO SE ACEPTAN CAMBIOS NI DEVOLUCIONES

{{config('app.slogan') }}

*** GRACIAS POR SU COMPRA ***