7525-devToTest #419
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue