fix: Role type — add hotel_admin/manager/all roles, fix hotel_manager typo

This commit is contained in:
2026-03-26 00:46:03 +03:00
parent d5267335a0
commit a59f9189ed
4 changed files with 16 additions and 11 deletions

View File

@@ -100,9 +100,14 @@ export const ROOM_STATUS_COLORS: Record<RoomStatus, string> = {
// ─── Role ─────────────────────────────────────────────────────────────────────
export const ROLE_LABELS: Record<Role, string> = {
super_admin: 'Супер-администратор',
hotel_manager: 'Менеджер отеля',
housekeeper: 'Горничная',
super_admin: 'Супер-администратор',
hotel_admin: 'Системный администратор',
manager: 'Менеджер',
housekeeper: 'Горничная',
receptionist: 'Ресепшн',
accountant: 'Бухгалтер',
security: 'Охрана',
technician: 'Тех. специалист',
}
// ─── Plan ─────────────────────────────────────────────────────────────────────