This commit is contained in:
2023-12-02 13:09:23 +01:00
parent 098bc97fa4
commit 45da05c9a4
46 changed files with 2889 additions and 5793 deletions

View File

@@ -1,5 +1,6 @@
<template>
<div id="main">
<!-- TODO: Kontakte erstellen und dem Kunden zuweisen -->
<div id="left">
<UButton @click="showCreateCustomer = true">+ Kunde</UButton>
@@ -57,7 +58,7 @@
<!-- TODO: Scrollcontainer -->
</UCard>
</div>
</div>
@@ -70,11 +71,7 @@ definePageMeta({
const supabase = useSupabaseClient()
//const {find,create} = useStrapi4()
//const customers = (await find('customers',{populate: "*"})).data
const customers = (await supabase.from("customers").select().order('customerNumber', {ascending: true})).data
const {customers } = storeToRefs(useDataStore())
let showCreateCustomer = ref(false)