Improve soundbox ops dashboard and registry editing

This commit is contained in:
Wira Basalamah
2026-06-08 15:56:12 +07:00
parent 836eb7db85
commit 67dc286c1a
18 changed files with 768 additions and 120 deletions

View File

@ -182,7 +182,7 @@
</div>
<div class="flex items-center gap-4">
<div class="relative group">
<input class="pl-10 pr-4 py-2 rounded-full border border-slate-200 focus:outline-none focus:ring-2 focus:ring-primary/20 w-64 bg-slate-50 transition-all focus:bg-white text-body-md" placeholder="Search transactions..." type="text"/>
<input id="reconciliation-global-search" class="pl-10 pr-4 py-2 rounded-full border border-slate-200 focus:outline-none focus:ring-2 focus:ring-primary/20 w-64 bg-slate-50 transition-all focus:bg-white text-body-md" placeholder="Search transactions..." type="text"/>
<span class="material-symbols-outlined absolute left-3 top-1/2 -translate-y-1/2 text-slate-400" data-icon="search">search</span>
</div>
<button class="w-10 h-10 flex items-center justify-center rounded-full hover:bg-slate-100 transition-colors text-slate-600">
@ -912,6 +912,16 @@
document.getElementById('clear-adjustment-filter')?.addEventListener('click', clearAdjustmentFilter);
document.getElementById('recon-adjustment-activity')?.addEventListener('click', handleAdjustmentApproval);
document.getElementById('adjustment-export-history')?.addEventListener('click', handleExportHistoryClick);
document.getElementById('reconciliation-global-search')?.addEventListener('keydown', (event) => {
const input = event.currentTarget;
if (event.key === 'Escape' && input.value) {
input.value = '';
return;
}
if (event.key === 'Enter' && input.value.trim()) {
window.location.href = `/ui/transaction-history-monitoring?q=${encodeURIComponent(input.value.trim())}`;
}
});
});
</script>
<!-- ui-nav -->