First steps for reconciliation edit.

This commit is contained in:
James Cole 2019-11-13 06:57:35 +01:00
parent 8a9e12c2b9
commit 4b9d1d23ca
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 6 additions and 6 deletions

2
public/v1/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -76,13 +76,13 @@
<div class="box-body">
<div class="row">
<div class="col-lg-4">
<transaction-description
<transaction-description v-if="transactionType.toLowerCase() !== 'reconciliation'"
v-model="transaction.description"
:index="index"
:error="transaction.errors.description"
>
</transaction-description>
<account-select
<account-select v-if="transactionType.toLowerCase() !== 'reconciliation'"
inputName="source[]"
v-bind:title="$t('firefly.source_account')"
:accountName="transaction.source_account.name"
@ -93,7 +93,7 @@
v-on:select:account="selectedSourceAccount(index, $event)"
:error="transaction.errors.source_account"
></account-select>
<account-select
<account-select v-if="transactionType.toLowerCase() !== 'reconciliation'"
inputName="destination[]"
v-bind:title="$t('firefly.destination_account')"
:accountName="transaction.destination_account.name"
@ -104,7 +104,7 @@
v-on:select:account="selectedDestinationAccount(index, $event)"
:error="transaction.errors.destination_account"
></account-select>
<standard-date
<standard-date v-if="transactionType.toLowerCase() !== 'reconciliation'"
v-model="transaction.date"
:index="index"
:error="transaction.errors.date"
@ -162,7 +162,7 @@
</div>
</div>
</div>
<div class="box-footer" v-if="transactions.length-1 === index">
<div class="box-footer" v-if="transactions.length-1 === index && transactionType.toLowerCase() !== 'reconciliation'">
<button class="btn btn-primary" type="button" @click="addTransaction">{{ $t('firefly.add_another_split') }}</button>
</div>
</div>