7525-devToTest #419

Merged
alexm merged 177 commits from 7525-devToTest into test 2024-06-04 08:06:27 +00:00
1 changed files with 2 additions and 1 deletions
Showing only changes of commit 87d458e196 - Show all commits

View File

@ -156,6 +156,7 @@ async function addExpense() {
} }
} }
const getTotalTaxableBase = (rows) => rows.reduce((acc, cur) => acc + cur.taxableBase, 0); const getTotalTaxableBase = (rows) => rows.reduce((acc, cur) => acc + cur.taxableBase, 0);
const getTotalRate = (rows) => rows.reduce((acc, cur) => acc + taxRate(cur), 0);
</script> </script>
<template> <template>
<FetchData <FetchData
@ -313,7 +314,7 @@ const getTotalTaxableBase = (rows) => rows.reduce((acc, cur) => acc + cur.taxabl
</QTd> </QTd>
<QTd /> <QTd />
<QTd /> <QTd />
<QTd /> <QTd> {{ toCurrency(getTotalRate(rows)) }}</QTd>
<QTd /> <QTd />
</QTr> </QTr>
</template> </template>