Various JS changes.

This commit is contained in:
James Cole
2020-02-09 09:32:33 +01:00
parent c8d2053500
commit ccb1f56573
6 changed files with 11 additions and 9 deletions

View File

@@ -19,11 +19,13 @@
-->
<template>
<!--
Show if:
- more than one currency enabled in system.
-->
<div class="form-group" v-bind:class="{ 'has-error': hasError()}" v-if="
null == this.transactionType ||
null != this.transactionType && (this.enabledCurrencies.length > 2 && (this.transactionType.toLowerCase() === 'deposit' || this.transactionType.toLowerCase() === 'withdrawal')) ||
this.liability ||
(null != this.transactionType && this.transactionType.toLowerCase() === 'transfer')">
this.enabledCurrencies.length > 1">
<div class="col-sm-8 col-sm-offset-4 text-sm">
{{ $t('form.foreign_amount') }}
</div>