Some work on customers view #3

This commit is contained in:
2025-11-04 13:51:31 +01:00
parent 3c2d35f458
commit 82e04acc2c
13 changed files with 154 additions and 51 deletions
+11 -3
View File
@@ -34,12 +34,12 @@ watch(() => props.customerData as Customer,
isDirty.value = false
isLoading.value = true
console.log("customerData", "Dirty: " + isDirty.value, "loading: " + isLoading.value)
// console.log("customerData", "Dirty: " + isDirty.value, "loading: " + isLoading.value)
}
)
watch(customer, (newValue) => {
console.log(newValue)
// console.log(newValue)
})
const saveChanges = () => {
@@ -101,7 +101,7 @@ const cancelChanges = (event: Event | null) => {
<div class="overflow-y-auto px-6">
<div id="document-header"
<div
class="block sticky top-0 py-4 bg-slate-100 bg-white dark:bg-neutral-800 z-1 flex items-end gap-12">
<div class="grow">
<DialogTitle class="text-xl text-primary-foreground font-bold">Edit profile</DialogTitle>
@@ -110,6 +110,14 @@ const cancelChanges = (event: Event | null) => {
</DialogDescription>
</div>
</div>
<div class="flex-none md:flex gap-12 mt-6 2 p-6 bg-slate-100 dark:bg-neutral-900 rounded-lg">
Customer Form hier
</div>
<div class="px-4 mt-6">
Contacts hier
</div>
</div>
<DialogFooter></DialogFooter>