This commit is contained in:
parent
61955268f4
commit
22a634e7eb
|
@ -187,11 +187,8 @@ function setData(entity) {
|
||||||
intrastatTotals.value = { ...getIntrastatTotals(entity.invoiceInIntrastat) };
|
intrastatTotals.value = { ...getIntrastatTotals(entity.invoiceInIntrastat) };
|
||||||
}
|
}
|
||||||
|
|
||||||
function taxRate(taxableBase, rate) {
|
function taxRate(taxableBase = 0, rate = 0) {
|
||||||
if (rate && taxableBase) {
|
return (rate / 100) * taxableBase;
|
||||||
return (rate / 100) * taxableBase;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getLink(param) {
|
function getLink(param) {
|
||||||
|
|
Loading…
Reference in New Issue