8315-devToTest #1094
|
@ -121,7 +121,7 @@ function taxRate(invoiceInTax) {
|
||||||
const taxTypeSage = taxRateSelection?.rate ?? 0;
|
const taxTypeSage = taxRateSelection?.rate ?? 0;
|
||||||
const taxableBase = invoiceInTax?.taxableBase ?? 0;
|
const taxableBase = invoiceInTax?.taxableBase ?? 0;
|
||||||
|
|
||||||
return (taxTypeSage / 100) * taxableBase;
|
return ((taxTypeSage / 100) * taxableBase).toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
const formatOpt = (row, { model, options }, prop) => {
|
const formatOpt = (row, { model, options }, prop) => {
|
||||||
|
|
Loading…
Reference in New Issue