diff --git a/docu b/docu index 18a3d24..5a17aab 100644 --- a/docu +++ b/docu @@ -24,4 +24,10 @@ Admin Client: Client Id: 7d1d57c6-6368-4aea-811d-9e651fd55a36 Client Secret: 30579e3c-8fbb-4684-a344-a521f962fd7c -Data Decryption Key: 3598063141d04b3b97c60c15fe4c9099 \ No newline at end of file +Data Decryption Key: 3598063141d04b3b97c60c15fe4c9099 + + + +GoCardless: +Sec: 65a3ffe63e403a19241ddd8f316566cb3f41e3fa065946ab582f881e16e8bed0f1b86ee29667950c88a43dcfb1c71d27049ee686a777f85d86383df28664ec55 +Key: 478cba26-f265-4e17-b8a8-679e0e8a855b diff --git a/spaces/app.vue b/spaces/app.vue index 546e862..eec01bc 100644 --- a/spaces/app.vue +++ b/spaces/app.vue @@ -10,7 +10,7 @@ const colorMode = useColorMode() const supabase = useSupabaseClient() const tenants = (await supabase.from("tenants").select()).data const {loaded, profiles} = storeToRefs(useDataStore()) -const {fetchData, getProfileById} = useDataStore() +const {fetchData, getProfileById, clearStore} = useDataStore() const userProfile = (user.value ? getProfileById(user.value.id) : {}) //console.log(userProfile) @@ -43,6 +43,11 @@ const navLinks = [ to: "/vendors", icon: "i-heroicons-truck" }, + { + label: "Kontakte", + to: "/contacts", + icon: "i-heroicons-user-group" + }, ] }, { @@ -54,6 +59,11 @@ const navLinks = [ to: "/vendorinvoices", icon: "i-heroicons-user-group" }, + { + label: "Bank", + to: "/banking", + icon: "i-heroicons-currency-euro" + }, ] }, { @@ -128,6 +138,11 @@ const navLinks = [ to: "/inventory/spaces", icon: "i-heroicons-square-3-stack-3d" }, + { + label: "Fahrzeuge", + to: "/vehicles", + icon: "i-heroicons-truck" + }, ] }, ] @@ -201,8 +216,9 @@ const items = [ icon: 'i-heroicons-cog-8-tooth', to: "/settings/externalDevices" },{ - label: 'Settings', - icon: 'i-heroicons-cog-8-tooth' + label: 'Benutzer', + icon: 'i-heroicons-user-group', + to: "/settings/users" }], /*[{ label: 'Documentation', icon: 'i-heroicons-book-open' @@ -215,9 +231,11 @@ const items = [ }],*/ [{ label: 'Sign out', icon: 'i-heroicons-arrow-left-on-rectangle', - click: () => { - supabase.auth.signOut() - router.push("/login") + click: async () => { + await supabase.auth.signOut() + await clearStore() + await router.push("/login") + } }] ] @@ -251,6 +269,7 @@ const items = [ + + \ No newline at end of file diff --git a/spaces/pages/banking/statements/[[accountId]].vue b/spaces/pages/banking/statements/[[accountId]].vue new file mode 100644 index 0000000..675fd65 --- /dev/null +++ b/spaces/pages/banking/statements/[[accountId]].vue @@ -0,0 +1,142 @@ + + + + + \ No newline at end of file diff --git a/spaces/pages/contacts/[mode]/[[id]].vue b/spaces/pages/contacts/[mode]/[[id]].vue new file mode 100644 index 0000000..84bbb72 --- /dev/null +++ b/spaces/pages/contacts/[mode]/[[id]].vue @@ -0,0 +1,291 @@ + + + + + \ No newline at end of file diff --git a/spaces/pages/contacts/index.vue b/spaces/pages/contacts/index.vue new file mode 100644 index 0000000..e7a30c7 --- /dev/null +++ b/spaces/pages/contacts/index.vue @@ -0,0 +1,90 @@ + + + + + \ No newline at end of file diff --git a/spaces/pages/contracts/[mode]/[[id]].vue b/spaces/pages/contracts/[mode]/[[id]].vue index 1e6bb99..f08a9e3 100644 --- a/spaces/pages/contracts/[mode]/[[id]].vue +++ b/spaces/pages/contracts/[mode]/[[id]].vue @@ -119,7 +119,9 @@ setupPage() Beschreibung:
{{currentContract.description}}
- + + {{currentContract}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/spaces/pages/vehicles/index.vue b/spaces/pages/vehicles/index.vue new file mode 100644 index 0000000..7a78b20 --- /dev/null +++ b/spaces/pages/vehicles/index.vue @@ -0,0 +1,74 @@ + + + + + \ No newline at end of file diff --git a/spaces/pages/vendorinvoices/[mode]/[[id]].vue b/spaces/pages/vendorinvoices/[mode]/[[id]].vue index 5ea8293..0fcabec 100644 --- a/spaces/pages/vendorinvoices/[mode]/[[id]].vue +++ b/spaces/pages/vendorinvoices/[mode]/[[id]].vue @@ -9,146 +9,166 @@
- + +
- + - + - - - + + + + - - - + + + + + + + + + + + + - - - - - - - + + + + + + + + + Speichern + + + + + {{itemInfo}}
+ {{currentVendorInvoice}}
+ {{currentDocument}} +
- - {{vendorInvoiceData}}
- {{currentVendorInvoice}}
- {{getDocumentById(78)}}