feat(tcb): add tcb (WIP)

This commit is contained in:
tiennm99 committed 2025-06-26 18:21:57 +07:00
1 parent 72b7aa9351
commit 7fdef5ca5c
4 files changed
+528 -6

No files matched your search

+13
View File
@@ -78,6 +78,11 @@
<input type="date" id="end-date">
<button id="fetch-btn">Fetch</button>
<button id="export-btn" disabled>Export CSV</button>
<label for="bank-select">Bank:</label>
<select id="bank-select">
<option value="bidv">BIDV</option>
<option value="tcb">Techcombank</option>
</select>
</div>
<div id="status"></div>
<table id="result-table" style="display:none;">
@@ -261,6 +266,14 @@
exportBtn.onclick = () => {
if (results.length) exportCSV(results);
};
document.getElementById('bank-select').onchange = function() {
if (this.value === 'bidv') {
window.location.href = 'bidv.html';
} else if (this.value === 'tcb') {
window.location.href = 'tcb.html';
}
};
</script>
</body>
</html>