Initial Commit: Duty Schedule and Attendance Logbook
This commit is contained in:
@@ -331,6 +331,7 @@ class NavSection {
|
||||
}
|
||||
|
||||
List<NavSection> _buildSections(String role) {
|
||||
final isStandard = role == 'standard';
|
||||
final mainItems = [
|
||||
NavItem(
|
||||
label: 'Dashboard',
|
||||
@@ -338,6 +339,20 @@ List<NavSection> _buildSections(String role) {
|
||||
icon: Icons.grid_view,
|
||||
selectedIcon: Icons.grid_view_rounded,
|
||||
),
|
||||
if (!isStandard)
|
||||
NavItem(
|
||||
label: 'Attendance',
|
||||
route: '/attendance',
|
||||
icon: Icons.fact_check_outlined,
|
||||
selectedIcon: Icons.fact_check,
|
||||
),
|
||||
if (!isStandard)
|
||||
NavItem(
|
||||
label: 'Whereabouts',
|
||||
route: '/whereabouts',
|
||||
icon: Icons.share_location_outlined,
|
||||
selectedIcon: Icons.share_location,
|
||||
),
|
||||
NavItem(
|
||||
label: 'Tickets',
|
||||
route: '/tickets',
|
||||
|
||||
Reference in New Issue
Block a user