{{-- Flash --}} @if (session()->has('message')) @endif {{-- ═══ STAT CARDS ═══ --}}
Total Retiros ARS

{{ number_format($totalARS ?? 0, 2, ',', '.') }}

Total Retiros USD

{{ number_format($totalUSD ?? 0, 2, ',', '.') }}

{{-- ═══ TOOLBAR (Filtros + Acciones) ═══ --}}
@if($searchTerm || $filterAccountId || $filterCurrency || $filterMonth !== now()->format('Y-m')) @endif
{{-- ═══ TABLE ═══ --}}
@if($withdrawals->count() == 0)

No hay retiros registrados.

@else
@foreach($withdrawals as $w) @endforeach
# Fecha Cuenta de origen Monto Moneda Notas Acciones
{{ $w->id }} {{ $w->date ? $w->date->format('d/m/Y') : '-' }} @if($w->account) {{ $w->account->name }} @else @endif {{ number_format($w->amount, 2, ',', '.') }} {{ $w->currency }} {{ Str::limit($w->notes, 40) ?? '—' }}
{{ $withdrawals->links() }}
@endif
{{-- ═══════════════════════════════════════════════════ --}} {{-- MODAL: Crear / Editar Retiro --}} {{-- ═══════════════════════════════════════════════════ --}} @if($showModal)
@endif {{-- ═══════════════════════════════════════════════════ --}} {{-- MODAL: Confirmar eliminación --}} {{-- ═══════════════════════════════════════════════════ --}} @if($confirmingDelete)
@endif {{-- FAB móvil --}}