()
| 1234 | } |
| 1235 | |
| 1236 | function getSelectedAccountEmail() { |
| 1237 | const accountId = Number(document.getElementById("account-select")?.value || 0); |
| 1238 | if (!accountId) return ""; |
| 1239 | const matched = (paymentAccounts || []).find((acc) => Number(acc?.id || 0) === accountId); |
| 1240 | return String(matched?.email || "").trim(); |
| 1241 | } |
| 1242 | |
| 1243 | function updateSelectedAccountEmailLabel() { |
| 1244 | const emailBtn = document.getElementById("semi-account-email-btn"); |
no outgoing calls
no test coverage detected