@extends('layouts.app') @section('title', 'Reporte de Productos') @section('header', 'Productos más Vendidos') @section('content') @php $moneda = $empresaGlobal->moneda ?? 'S/'; @endphp
| # | Código | Producto | Categoría | Cantidad | Precio Prom. | Total |
|---|---|---|---|---|---|---|
| {{ $i+1 }} | {{ $p->codigo }} | {{ $p->nombre }} | {{ $p->categoria ?: '—' }} | {{ number_format($p->cantidad_vendida, 2) }} | {{ $moneda }}{{ number_format($p->precio_promedio, 2) }} | {{ $moneda }}{{ number_format($p->total_ingresos, 2) }} |
| Sin ventas en el período | ||||||