mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Various JS changes.
This commit is contained in:
parent
c8d2053500
commit
ccb1f56573
2
public/v1/js/app.js
vendored
2
public/v1/js/app.js
vendored
File diff suppressed because one or more lines are too long
2
public/v1/js/create_transaction.js
vendored
2
public/v1/js/create_transaction.js
vendored
File diff suppressed because one or more lines are too long
2
public/v1/js/edit_transaction.js
vendored
2
public/v1/js/edit_transaction.js
vendored
File diff suppressed because one or more lines are too long
2
public/v1/js/profile.js
vendored
2
public/v1/js/profile.js
vendored
File diff suppressed because one or more lines are too long
@ -168,7 +168,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-footer" v-if="transactions.length-1 === index">
|
||||
<button class="split_add_btn btn btn-primary" type="button" @click="addTransactionToArray">{{ $t('firefly.add_another_split') }}</button>
|
||||
<button class="split_add_btn btn btn-default" type="button" @click="addTransactionToArray">{{ $t('firefly.add_another_split') }}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user