Available Balance
BDT 0.00
Recent Transactions
}
const pin = values.join('');
if (pin.length === 5 && onComplete) {
onComplete(pin);
}
};
input.onkeydown = (e) => {
if (e.key === 'Backspace' && !input.value && index > 0) {
inputs[index - 1].focus();
}
};
});
}
// Add Money
function showAddMoneyForm(source) {
app.showToast(`${source} integration coming soon`, 'info');
}
// Navigation override for history
const originalNavigate = app.navigateTo;
app.navigateTo = function(page) {
originalNavigate.call(app, page);
if (page === 'history') {
loadFullTransactions();
} else if (page === 'notifications') {
loadNotifications();
} else if (page === 'profile') {
document.getElementById('theme-label').textContent = app.theme === 'light' ? 'Light' : 'Dark';
}
};