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