Add customer/manager access UI and tighten customers filters.

Business and super-admin can set Customer vs Manager roles (Admin only for super-admin), and the customers page drops clutter while filtering by all/customers/managers.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-10 21:31:28 +03:30
co-authored by Cursor
parent 404c008ced
commit f622e6d605
28 changed files with 1280 additions and 241 deletions
@@ -1,3 +1,11 @@
.pageHeaderCompact {
margin-bottom: 12px;
}
.pageHeaderCompact :global(h2) {
margin-bottom: 0;
}
.tablePanel {
margin-top: 12px;
padding: 0;
@@ -61,7 +69,7 @@
}
.colActions {
width: 206px;
width: 240px;
}
.th,
@@ -132,10 +140,9 @@
align-items: center;
justify-content: flex-end;
gap: 0;
direction: ltr;
}
/* FA: عملیات column is on the physical left — pin controls to that edge. */
/* FA: عملیات column is on the physical left. */
.tableFa .thActions,
.tableFa .tdActions {
text-align: left;
@@ -143,12 +150,8 @@
padding-right: 10px;
}
.tableFa .rowActions {
justify-content: flex-start;
}
.toggleInActions {
margin-right: 10px;
margin-inline-end: 10px;
flex-shrink: 0;
display: flex;
align-items: center;