#7936 improve InvoiceIn #1004
|
@ -256,12 +256,12 @@ const formatOpt = (row, { model, options }, prop) => {
|
||||||
v-model="row.foreignValue"
|
v-model="row.foreignValue"
|
||||||
@update:model-value="
|
@update:model-value="
|
||||||
async (val) => {
|
async (val) => {
|
||||||
const exchange = await getExchange(
|
if (!isNotEuro(currency)) return;
|
||||||
|
row.taxableBase = await getExchange(
|
||||||
val,
|
val,
|
||||||
row.currencyFk,
|
row.currencyFk,
|
||||||
invoiceIn.issued
|
invoiceIn.issued
|
||||||
);
|
);
|
||||||
row.taxableBase = exchange;
|
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue