diff --git a/src/components/TransactionCreate.vue b/src/components/TransactionCreate.vue index a2e1a62..aabd6a5 100644 --- a/src/components/TransactionCreate.vue +++ b/src/components/TransactionCreate.vue @@ -444,11 +444,9 @@ export default class TransactionCreate extends Vue { return false } if (isNaN(this.amount) || this.amount > this.maxAmount) { + const maxAmount = money(this.maxAmount, this.currency) notif.error( - `Veuillez saisir un montant numérique inférieur à ${money( - this.maxAmount, - this.currency - )}.` + `Veuillez saisir un montant numérique inférieur à ${maxAmount}.` ) return false }