New Backend changes
This commit is contained in:
@@ -10,17 +10,15 @@ defineShortcuts({
|
||||
}
|
||||
})
|
||||
|
||||
const profileStore = useProfileStore()
|
||||
const tempStore = useTempStore()
|
||||
const router = useRouter()
|
||||
const supabase = useSupabaseClient()
|
||||
|
||||
const bankstatements = ref([])
|
||||
const bankaccounts = ref([])
|
||||
|
||||
const setupPage = async () => {
|
||||
bankstatements.value = (await supabase.from("bankstatements").select("*, statementallocations(*)").is("archived",false).eq('tenant', profileStore.currentTenant).order("date", {ascending:false})).data
|
||||
bankaccounts.value = await useSupabaseSelect("bankaccounts")
|
||||
bankstatements.value = (await useEntities("bankstatements").select("*, statementallocations(*)", "date", false))
|
||||
bankaccounts.value = await useEntities("bankaccounts").select()
|
||||
}
|
||||
|
||||
const templateColumns = [
|
||||
|
||||
Reference in New Issue
Block a user