diff --git a/modules/invoiceIn/front/tax/index.html b/modules/invoiceIn/front/tax/index.html index e7a63c1ba..fbcc2dd86 100644 --- a/modules/invoiceIn/front/tax/index.html +++ b/modules/invoiceIn/front/tax/index.html @@ -9,6 +9,10 @@ 'foreignValue', 'taxTypeSageFk', 'transactionTypeSageFk']" + include="{ + relation: 'taxTypeSage', + scope: {fields: ['id', 'rate']} + }" link="{invoiceInFk: $ctrl.$params.id}" data="$ctrl.taxes" auto-load="true"> @@ -61,7 +65,6 @@ show-field="vat" fields="['id', 'vat', 'rate']" search-function="{or: [{id: $search}, {vat: {like: '%'+ $search +'%'}}]}" - selection="taxRateSelection" rule> {{id}}: {{vat}} @@ -77,7 +80,7 @@ + field="$ctrl.taxRate(invoiceInTax) | currency:'EUR':2"> a + tax.rate, 0); + (a, tax) => a + this.taxRate(tax), 0); return this.taxableBase + tax; }