This commit is contained in:
2025-01-20 11:01:28 +01:00
parent e655d9cecd
commit 33818033a4
3 changed files with 6 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ const itemInfo = ref({
//Functions
const setupPage = async () => {
if((mode.value === "show" || mode.value === "edit" ) && route.params.id){
itemInfo.value = await dataStore.getIncomingInvoiceById(Number(route.params.id))
itemInfo.value = await useSupabaseSelectSingle("incominginvoices",route.params.id)
//currentDocument.value = await dataStore.getDocumentById(currentVendorInvoice.value.document)
}
console.log(itemInfo.value)