{{ $configuracion->rfc }} {{ $configuracion->razon_social }} {{ $configuracion->domicilio_calle }} {{ $configuracion->codigo_postal }} {{ $configuracion->ciudad_estado }} @if($venta->requiere_factura) Régimen Fiscal: {{ $configuracion->regimen_fiscal }} @endif
| {{ strtolower($venta->created_at->locale('es_MX')->format('d M Y H:i')) }} | FOLIO: {{ $venta->folio }} |
| Vendedor: {{ $venta->vendedor ? $venta->vendedor->name: '' }} | |
| Cliente: {{ $venta->cliente->nombre }} | |
| RFC Receptor: {{ $venta->cliente->rfc }} | |
| Regimen Fiscal: {{ $venta->cliente->regimen_fiscal->clave }} {{ $venta->cliente->regimen_fiscal->descripcion }} | |
| Uso del CFDI: {{ $venta->usoCfdi->uso_cfdi }} - {{ $venta->usoCfdi->descripcion }} | |
@for($index = 1; $index < 24; $index ++) -@endfor
| {{$item->producto->codigo}} {{$item->producto->descripcion}} ({{ $item->producto->unidadMedida->nombre }}) | |
| {{$item->cantidad}} X $ {{ number_format($item->precio, 2)}} | ${{ Str::padLeft(number_format($item->precio * $item->cantidad, 2), 15) }} |
| SUBTOTAL | ${{ Str::padLeft(number_format($venta->subtotal, 2), 15) }} |
| IVA | ${{ Str::padLeft(number_format($venta->iva, 2), 15) }} |
| TOTAL | ${{ Str::padLeft(number_format($venta->total, 2), 15) }} |
| {{ \Illuminate\Support\Str::upper($venta->tipo_pago) }} | ${{ Str::padLeft(number_format($venta->recibido, 2), 15) }} |
| CAMBIO | ${{ Str::padLeft(number_format($venta->cambio, 2), 15) }} |
ARTICULOS VENDIDOS: {{ $venta->items->reduce( fn($carry, $item) => $carry + $item->cantidad, 0) }}
¡GRACIAS POR SU COMPRA!
{{ $venta->folio }}