WIP: 7984-addCurrency #1265

Draft
alexm wants to merge 18 commits from 7984-addCurrency into dev
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 0e535663b1 - Show all commits

View File

@ -72,7 +72,7 @@ function getForeignFieldComputed() {
<span :title="toCurrencyLabel">
<template v-if="currency && (localValue || localValue === 0)">
{{
foreignValue && user.foreignCurrency
foreignValue && user.foreignCurrency && currency != user.currencyCode
? toCurrencyLabel
: toCurrency(localValue)
}}

View File

@ -76,6 +76,7 @@ export function useSession() {
lang: '',
darkMode: null,
foreignCurrency: true,
currencyCode: 'EUR', //FIXME: use config
});
stopRenewer();