From b9772def05f08d916c5a226a747be4282b445a5d Mon Sep 17 00:00:00 2001 From: flfeders Date: Fri, 15 Dec 2023 20:48:47 +0100 Subject: [PATCH] Many Changes --- spaces/app.vue | 84 ++++++++--- spaces/components/DatePicker.vue | 48 +++++++ spaces/nuxt.config.ts | 1 - spaces/package.json | 5 +- spaces/pages/customers/index.vue | 29 +++- spaces/pages/printing.vue | 45 ++++-- spaces/pages/products/index.vue | 14 +- spaces/pages/settings/externalDevices.vue | 22 +++ spaces/pages/timetracking.vue | 19 ++- spaces/pages/vendorinvoices/index.vue | 101 +++++++------ spaces/pages/vendors/[mode]/[[id]].vue | 167 ++++++++++++++++++++++ spaces/pages/vendors/index.vue | 74 ++++++++++ spaces/stores/data.ts | 14 ++ 13 files changed, 530 insertions(+), 93 deletions(-) create mode 100644 spaces/components/DatePicker.vue create mode 100644 spaces/pages/settings/externalDevices.vue create mode 100644 spaces/pages/vendors/[mode]/[[id]].vue create mode 100644 spaces/pages/vendors/index.vue diff --git a/spaces/app.vue b/spaces/app.vue index 0a997cd..ff877f5 100644 --- a/spaces/app.vue +++ b/spaces/app.vue @@ -29,6 +29,33 @@ const navLinks = [ to: "/", icon: 'i-heroicons-home' }, + { + label: "Kontakte", + icon: 'i-heroicons-user-group', + children: [ + { + label: "Kunden", + to: "/customers", + icon: "i-heroicons-user-group" + }, + { + label: "Lieferanten", + to: "/vendors", + icon: "i-heroicons-truck" + }, + ] + }, + { + label: "Buchhaltung", + icon: 'i-heroicons-document-chart-bar', + children: [ + { + label: "Eingangsrechnungen", + to: "/vendorinvoices", + icon: "i-heroicons-user-group" + }, + ] + }, { label: "Aufgaben", to: "/tasks", @@ -39,25 +66,16 @@ const navLinks = [ to: "/planningBoard", icon: "i-heroicons-calendar-days" }, - { - label: "Kunden", - to: "/customers", - icon: "i-heroicons-user-group" - }, + { label: "Projekte", to: "/projects", icon: "i-heroicons-clipboard-document-check" }, { - label: "Zeiterfassung", - to: "/timetracking", - icon: "i-heroicons-clock" - }, - { - label: "Artikel", - to: "/products", - icon: "i-heroicons-puzzle-piece" + label: "Jobs", + to: "/jobs", + icon: "i-heroicons-square-3-stack-3d" }, { label: "Dokumente", @@ -65,15 +83,32 @@ const navLinks = [ icon: "i-heroicons-document" }, { - label: "Inventar", - to: "/inventory", - icon: "i-heroicons-square-3-stack-3d" + label: "Mitarbeiter", + icon: 'i-heroicons-user', + children: [ + { + label: "Zeiterfassung", + to: "/timetracking", + icon: "i-heroicons-clock" + }, + ] }, { - label: "Jobs", - to: "/jobs", - icon: "i-heroicons-square-3-stack-3d" - } + label: "Lager", + icon: 'i-heroicons-home', + children: [ + { + label: "Artikel", + to: "/products", + icon: "i-heroicons-puzzle-piece" + }, + { + label: "Inventar", + to: "/inventory", + icon: "i-heroicons-square-3-stack-3d" + }, + ] + }, ] const linksForBreadcrumbs = ref([]) @@ -141,6 +176,10 @@ const items = [ slot: 'account', disabled: true }], [{ + label: 'Externe Geräte', + icon: 'i-heroicons-cog-8-tooth', + to: "/settings/externalDevices" + },{ label: 'Settings', icon: 'i-heroicons-cog-8-tooth' }], /*[{ @@ -181,6 +220,11 @@ const items = [ + + +