Add button to create a newinvoice directly from within the sidebar

This commit is contained in:
2025-10-22 12:35:40 +02:00
parent 92c1b4d441
commit 502fde1d20
3 changed files with 26 additions and 4 deletions
+7 -1
View File
@@ -8,7 +8,7 @@ import { Kbd } from '@/components/ui/kbd'
import { edit } from '@/routes/profile';
import { type NavItem, type NavGroup } from '@/types';
import { Link } from '@inertiajs/vue3';
import { Kanban, Euro, Contact, Trophy, Calculator, Settings, Target, BookUser, Timer, Headset, IdCard } from 'lucide-vue-next';
import { Kanban, Euro, Contact, Trophy, Calculator, Settings, Target, BookUser, Timer, Headset, IdCard, Plus } from 'lucide-vue-next';
import AppLogo from './AppLogo.vue';
const mainNavGroups: NavGroup[] = [
@@ -55,6 +55,12 @@ const mainNavGroups: NavGroup[] = [
href: invoices(),
icon: Euro,
color: 'text-pink-700',
action: {
title: "Neue Rechnung",
icon: Plus,
color: 'text-foreground',
href: invoices()
}
},
{
title: 'Zeiterfassung',