سامانه صدور فاکتور و حسابداری

Normalize Phase 1 UI source newlines

davoodmehraban89 committed Sep 28, 2026 at 17:34 UTC ed96e970678895a72c5bcee71d310ff040e91f55
1 file changed +2 -1
js/ui.js
+2 -1
@@ -5,7 +5,8 @@ function switchView(viewId){
5 document.querySelectorAll('.nav-link').forEach(btn=>btn.classList.toggle('active',btn.getAttribute('data-view')===viewId));
6 document.querySelectorAll('.dock-tab').forEach(dock=>dock.classList.toggle('active',dock.dataset.view===viewId));
7 if(viewId==='view-admin')renderAdminPanel();
8 - if(viewId==='view-reports')renderFinancialReports();\n if(typeof syncShellForView==='function')syncShellForView(viewId);
8 + if(viewId==='view-reports')renderFinancialReports();
9 + if(typeof syncShellForView==='function')syncShellForView(viewId);
10 window.scrollTo({top:0,behavior:'smooth'});
11 }
12 function toggleAccordion(headerEl){headerEl.parentElement.classList.toggle('open');}