feat: refs #7936 add currency check before fetching
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix-front/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
8e3d9b2bf3
commit
50dab045f0
|
@ -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;
|
||||
}
|
||||
"
|
||||
/>
|
||||
|
|
Loading…
Reference in New Issue