@extends('../padre.padre') @section('styles') @endsection @section('contenido')
| @if($agruparPor == 'usuario') Usuario @elseif($agruparPor == 'marca') Código Marca @elseif($agruparPor == 'categoria') Código Categoría @else Código Vendedor @endif | @if($agruparPor == 'usuario') Nombre Usuario @elseif($agruparPor == 'marca') Nombre Marca @elseif($agruparPor == 'categoria') Nombre Categoría @else Nombre Vendedor @endif | Facturas | Venta Bruta | Devoluciones | Venta Neta | % Participación | Base IVA | Total IVA |
|---|---|---|---|---|---|---|---|---|
| {{ $item['codigo'] }} | {{ $item['nombre'] }} | {{ number_format($item['cant_facturas']) }} | ${{ number_format($item['venta_bruta'], 2) }} | @if($item['devolucion'] > 0) -${{ number_format($item['devolucion'], 2) }} @else $0.00 @endif | ${{ number_format($item['venta_neta'], 2) }} |
{{ number_format($porcentaje, 1) }}%
|
${{ number_format($item['base_iva'], 2) }} | ${{ number_format($item['total_iva'], 2) }} |
| TOTAL GENERAL: | {{ number_format($totFacturas) }} | ${{ number_format($totVentaBruta, 2) }} | ${{ number_format($totDevolucion, 2) }} | ${{ number_format($totVentaNeta, 2) }} | 100% | ${{ number_format($totBaseIva, 2) }} | ${{ number_format($totTotalIva, 2) }} | |
Seleccione un rango de fechas y presione el botón Generar Resumen para visualizar los gráficos y datos.