@foreach($rows as $row) @endforeach
Tabla de facturas por mes
Rango: {{ $fechaInicio }} al {{ $fechaFin }}
Mes Facturas cantidad Facturas monto Ventas sin factura cantidad Ventas sin factura monto
{{ $row['mes'] }} {{ (int) $row['facturas_cantidad'] }} {{ number_format((float) $row['facturas_monto'], 2, '.', '') }} {{ (int) $row['ventas_cantidad'] }} {{ number_format((float) $row['ventas_monto'], 2, '.', '') }}
Total {{ (int) $totales['facturas_cantidad'] }} {{ number_format((float) $totales['facturas_monto'], 2, '.', '') }} {{ (int) $totales['ventas_cantidad'] }} {{ number_format((float) $totales['ventas_monto'], 2, '.', '') }}