Dashboard
0
Departments
0
Staff (All)
0
On Duty (Today BS)
0
On Leave (Today BS)
Admin sees everything. Department users see only their department’s staff + roster.
(In Phase-2 we’ll enforce the same rules in Firestore Security Rules, not only UI.)
Today Summary (BS)
| Department | On Duty | On Leave | Off |
|---|
Staff (Add / Edit)
New staff
⚠️ Don’t delete staff when someone leaves — set Status = LEFT so roster history stays safe.
Leave policy (used in Reports later): Permanent = 32 AL/FY, 12 SL/FY. OFF target =
4/month.
Staff List
| Name | Dept | Type | Status |
|---|
Shift Codes
New shift
Recommended: M/E/N (Duty), O (Off), AL (Annual Leave), SL (Sick Leave), L (Leave generic).
Shift List
| Code | Label | Category |
|---|
Monthly Roster (BS)
Storage rule stays same: roster entries store only staffId + bsDate + shiftCode. Staff name is always
resolved from Staff table.
Department users can only edit their department. Admin can edit all.
Daily Duty (BS)
Uses Nepali BS Date Picker. (Tap input to open calendar)
Result
| Staff | Dept | Shift | Category |
|---|
Reports (Scaffold)
This phase shows totals per staff for shift codes, plus AL/SL remaining for permanent staff (based on
assignments).