Changes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user