feat: refs #7936 add currency check before fetching
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jorge Penadés 2024-11-28 15:00:29 +01:00
parent 8e3d9b2bf3
commit 50dab045f0
1 changed files with 2 additions and 2 deletions

View File

@ -256,12 +256,12 @@ const formatOpt = (row, { model, options }, prop) => {
v-model="row.foreignValue"
@update:model-value="
async (val) => {
const exchange = await getExchange(
if (!isNotEuro(currency)) return;
row.taxableBase = await getExchange(
val,
row.currencyFk,
invoiceIn.issued
);
row.taxableBase = exchange;
}
"
/>