Added Archiving

This commit is contained in:
2025-01-17 11:27:18 +01:00
parent b40553cc54
commit 57c0f81263
2 changed files with 4 additions and 4 deletions

View File

@@ -162,7 +162,7 @@ const items = ref([])
const selectedItem = ref(0)
const setupPage = async () => {
items.value = await useSupabaseSelect("createddocuments","*, customer(id,name), statementallocations(id,amount)","documentNumber")
items.value = (await useSupabaseSelect("createddocuments","*, customer(id,name), statementallocations(id,amount)","documentNumber")).filter(i => !i.archived)
}
setupPage()