Added new role Accounting

This commit is contained in:
2025-12-23 17:16:36 -05:00
parent c991069d30
commit 46a7b1a3b7
7 changed files with 69 additions and 18 deletions
+3 -1
View File
@@ -64,6 +64,7 @@
<select id="role" name="role" required>
<option value="staff" {{ 'selected' if user.role == 'staff' else '' }}>Staff User</option>
<option value="payroll" {{ 'selected' if user.role == 'payroll' else '' }}>Payroll Specialist</option>
<option value="accounting" {{ 'selected' if user.role == 'accounting' else '' }}>Accounting Specialist</option>
<option value="project_manager" {{ 'selected' if user.role == 'project_manager' else '' }}>Project Manager</option>
<option value="admin" {{ 'selected' if user.role == 'admin' else '' }}>Administrator</option>
</select>
@@ -586,7 +587,8 @@
function getRoleDisplayName(role) {
const roleNames = {
'staff': 'Staff User',
'payroll': 'Payroll Specialist',
'payroll': 'Payroll Specialist',
'accounting': 'Accounting Specialist',
'project_manager': 'Project Manager',
'admin': 'Administrator'
};