New Backend changes
This commit is contained in:
@@ -13,7 +13,7 @@ const props = defineProps({
|
||||
const incomingInvoices = ref({})
|
||||
|
||||
const setupPage = async () => {
|
||||
incomingInvoices.value = (await supabase.from("incominginvoices").select().eq("tenant", profileStore.currentTenant)).data.filter(i => i.accounts.find(x => x.costCentre === props.item.id))
|
||||
incomingInvoices.value = (await useEntities("incominginvoices").select()).filter(i => i.accounts.find(x => x.costCentre === props.item.id))
|
||||
}
|
||||
|
||||
setupPage()
|
||||
|
||||
Reference in New Issue
Block a user