@extends('layouts.app') @section('title', 'Reporte de Transacciones Bancarias') @section('content')

Reporte de Transacciones Bancarias

Reporte detallado de transacciones bancarias

Filtros
Limpiar
Total Transacciones
{{ number_format($stats['total'] ?? 0) }}
Total Monto
${{ number_format($stats['total_amount'] ?? 0, 2) }}
Depósitos
${{ number_format($stats['deposits'] ?? 0, 2) }}
Retiros
${{ number_format($stats['withdrawals'] ?? 0, 2) }}
Detalle de Transacciones
@forelse($transactions ?? [] as $transaction) @empty @endforelse
Fecha Cuenta Tipo Número Descripción Monto Saldo Conciliado
{{ $transaction->transaction_date ? $transaction->transaction_date->format('d/m/Y') : 'N/A' }} {{ $transaction->bankAccount->bank->name ?? 'N/A' }} - {{ $transaction->bankAccount->account_number }} {{ ucfirst(str_replace('_', ' ', $transaction->transaction_type)) }} {{ $transaction->transaction_number ?? 'N/A' }} {{ $transaction->description ?? 'N/A' }} ${{ number_format($transaction->amount_usd ?? 0, 2) }} ${{ number_format($transaction->balance_after ?? 0, 2) }} @if($transaction->is_reconciled) @else No @endif
No se encontraron transacciones
@if(isset($byType) && $byType->count() > 0)
Resumen por Tipo
@foreach($byType as $type => $data) @endforeach
Tipo Cantidad Total
{{ ucfirst(str_replace('_', ' ', $type)) }} {{ $data['count'] }} ${{ number_format($data['total'], 2) }}
@endif
@endsection