Added Buttons for all connected Documents

This commit is contained in:
2025-12-09 12:07:00 +01:00
parent 8b70b77b85
commit 84c88ef69e
2 changed files with 10 additions and 10 deletions

View File

@@ -39,9 +39,9 @@ const openEmail = () => {
const openBankstatements = () => {
if(itemInfo.value.statementallocations.length > 1) {
navigateTo(`/banking/?filter=${JSON.stringify(itemInfo.value.statementallocations.map(i => i.bs_id))}`)
navigateTo(`/banking/?filter=${JSON.stringify(itemInfo.value.statementallocations.map(i => i.bankstatement))}`)
} else {
navigateTo(`/banking/statements/edit/${itemInfo.value.statementallocations[0].bs_id}`)
navigateTo(`/banking/statements/edit/${itemInfo.value.statementallocations[0].bankstatement}`)
}
}
</script>