{{-- ===================================================== Etebarit - by Gisoo Web Solutions ------------------------------------------------------ Gisoo.net ------------------------------------------------------ Copyright (c) 2026 Gisoo Web Solutions ===================================================== This code is protected by copyright ===================================================== File: _add-modal.blade.php ------------------------------------------------------ Use: The add-bank-account dialog. Carries its own Alpine scope so it can live on any page (the bank-accounts list and the wallet withdraw flow) and open on the `open-add-account` window event. ===================================================== --}} @php $bankNames = []; foreach (\App\Support\BankDirectory::all() as $key => $label) { $bankNames[$key] = $label; } $accountConfig = [ 'bins' => \App\Support\BankDirectory::binMap(), 'names' => $bankNames, 'unknown' => __('front.banks.unknown'), 'strings' => ['confirmAdd' => __('front.bank_accounts.confirm_add')], ]; @endphp