| Categoría | Cantidad | Total |
|---|---|---|
| {{ $cat['categoria'] ?? 'Sin categoría' }} | {{ $cat['cantidad'] }} | ${{ number_format($cat['total'], 2) }} |
| Descripción | Proveedor | Categoría | Monto | Pagado | Fecha |
|---|---|---|---|---|---|
| {{ $gasto->descripcion }} | {{ $gasto->proveedor->nombre ?? 'N/A' }} | {{ $gasto->categoria }} | ${{ number_format($gasto->cantidad, 2) }} | {{ $gasto->pagado ? 'Sí' : 'No' }} | {{ $gasto->created_at->format('d/m/Y') }} |
Total: ${{ number_format($totales['total'], 2) }}
Pagado: ${{ number_format($totales['pagado'], 2) }}
Pendiente: ${{ number_format($totales['pendiente'], 2) }}