@extends('../padre.padre') @section('contenido')
Informe consolidado de ventas, comisiones por vendedor y auditoría de productos
| Cód. | Nombre Vendedor | Valor Total Venta | {{ $tipoc }} | Comisión s/ Margen | Comisión 2 | Gnac Normal | % Efectivo |
|---|---|---|---|---|---|---|---|
| {{ $key }} | {{ $item["nombreVendedor"] }} | $ {{ number_format($item["ganancia"]) }} | $ {{ number_format($item["comision"]) }} | $ {{ number_format($item["comisionSinCos"]) }} | $ {{ number_format($item["comision2"]) }} | $ {{ number_format($item["ganancia"] - $item["comision"] - $item["comision2"]) }} | {{ number_format($porcentajeEfectivo, 1) }}% |
| TOTALES GENERALES: | $ {{ number_format($sumVentas) }} | $ {{ number_format($sumComision) }} | $ {{ number_format($sumComisionSinCos) }} | $ {{ number_format($sumComision2) }} | $ {{ number_format($sumGnacNormal) }} | {{ ($sumVentas > 0) ? number_format(($sumComisionTotal / $sumVentas) * 100, 1) : 0 }}% | |
| Código | Producto | Vendedor | Bodega | Cajas | Frac | Valor Venta | Costo | % Com | Comisión 1 | Comisión s/ Margen |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item["codigo"] }} | @if($esDevolucion) Devolución @endif {{ $item["nombre"] }} | {{ $item["nombrev"] }} | {{ $item["bodegaVenta"] }} | {{ $item["CAJA"] }} | {{ $item["FRCC"] }} | $ {{ number_format($item["valor"]) }} | $ {{ number_format($item["costo"]) }} | {{ $item["ComisionP"] }}% | @if($tipoc == "Comision") $ {{ number_format(round($item["comision"], 0)) }} @else $ 0 @endif | @if($tipoc == "Comision") $ {{ number_format(round($item["comisionSinCos"], 0)) }} @else $ 0 @endif |