fix: let only the owner set logout time and move the attendance tab

This commit is contained in:
2026-10-19 13:54:09 +03:30
parent 8590579605
commit f15ebb72ea
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -30,10 +30,10 @@ type LogTab = 'all' | 'creates' | 'edits' | 'deletes' | 'attendance';
const TABS: Array<{ key: LogTab; label: string; action?: string }> = [
{ key: 'all', label: 'همه' },
{ key: 'attendance', label: 'ورود و خروج' },
{ key: 'creates', label: 'ایجاد', action: 'ایجاد' },
{ key: 'edits', label: 'ویرایش', action: 'ویرایش' },
{ key: 'deletes', label: 'حذف', action: 'حذف' },
{ key: 'attendance', label: 'ورود و خروج' },
];
const ENTITY_LABELS: Record<string, string> = {