@if (file_exists(public_path('logos/main.png'))) Logo @else {{ config('app.name') }} @endif

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

{{ config('app.telefono') }} | {{ config('app.direccion') }}

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

FACTURA
N° {{ str_pad($factura->id, 6, '0', STR_PAD_LEFT) }}
{{ \Carbon\Carbon::parse($fechaVenta)->format('d/m/Y') }}
Cliente: {{ strtoupper($clienteNombre) }}
NIT: {{ $clienteNit }}
Vendedor: {{ strtoupper($usuario) }}
@foreach ($detallesVenta as $item) @endforeach
CANT DESCRIPCIÓN UNIT. TOTAL
{{ $item->cantidad }} {{ Str::limit($item->nomArt, 40) }} @if ($item->descuento > 0)
(Desc: -Q{{ number_format($item->descuento * $item->cantidad, 2) }}) @endif
{{ number_format($item->total / $item->cantidad, 2) }} {{ number_format($item->total, 2) }}