diff --git a/src/components/NavRail.vue b/src/components/NavRail.vue index 643b783..524a541 100644 --- a/src/components/NavRail.vue +++ b/src/components/NavRail.vue @@ -8,6 +8,8 @@ import { Users, FolderKanban, List, + CalendarDays, + Grid3X3, BarChart3, FileText, Settings @@ -23,6 +25,8 @@ const navItems = [ { name: 'Clients', path: '/clients', icon: Users }, { name: 'Projects', path: '/projects', icon: FolderKanban }, { name: 'Entries', path: '/entries', icon: List }, + { name: 'Calendar', path: '/calendar', icon: CalendarDays }, + { name: 'Timesheet', path: '/timesheet', icon: Grid3X3 }, { name: 'Invoices', path: '/invoices', icon: FileText }, { name: 'Reports', path: '/reports', icon: BarChart3 }, { name: 'Settings', path: '/settings', icon: Settings } @@ -65,12 +69,16 @@ function navigate(path: string) { - +
+ {{ getProjectName(entry.project_id) }} +
++ {{ formatDuration(entry.duration) }} +
++ {{ timerStore.formattedTime }} +
++ {{ projectName }} +
+| + Project / Task + | ++ {{ day }} + | ++ Total + | +||||||
|---|---|---|---|---|---|---|---|---|
|
+
+
+ {{ row.project_name }}
+ / {{ row.task_name }}
+
+ |
+ + {{ formatHM(seconds) }} + | ++ {{ formatHM(rowTotal(row)) }} + | +||||||
|
+
+
+
+
+
+
+
+
+ |
+ ||||||||
|
+ No timesheet data for this week + |
+ ||||||||
| + Total + | ++ {{ formatHM(total) }} + | ++ {{ formatHM(grandTotal) }} + | +||||||