@extends('layouts.app') @section('title', 'Reporte de Flujo de Caja') @section('content')
Análisis detallado de ingresos y egresos bancarios
| Fecha | Ingresos | Egresos | Flujo Neto | Transacciones |
|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($flow['date'])->format('d/m/Y') }} | ${{ number_format($flow['inflows'] ?? 0, 2) }} | ${{ number_format($flow['outflows'] ?? 0, 2) }} | ${{ number_format($flow['net'] ?? 0, 2) }} | {{ $flow['transactions'] ?? 0 }} |
| No se encontraron registros | ||||
| Tipo | Cantidad | Total |
|---|---|---|
| {{ ucfirst(str_replace('_', ' ', $type)) }} | {{ $data['count'] }} | ${{ number_format($data['total'], 2) }} |
| Cuenta | Transacciones | Ingresos | Egresos | Neto |
|---|---|---|---|---|
| {{ $data['account']->bank->name ?? 'N/A' }} - {{ $data['account']->account_number }} | {{ $data['count'] }} | ${{ number_format($data['inflows'], 2) }} | ${{ number_format($data['outflows'], 2) }} | ${{ number_format($data['inflows'] - $data['outflows'], 2) }} |