This commit is contained in:
James Cole 2019-08-23 13:53:05 +02:00
parent 19bd295c71
commit 633c776ebf
4 changed files with 6 additions and 59487 deletions

View File

@ -297,9 +297,9 @@ class TransactionJournalFactory
$foreignCurrency = $this->getCurrency($foreignCurrency, $destinationAccount);
$sourceCurrency = $currency;
$destCurrency = $foreignCurrency;
$destCurrency = $currency;
$sourceForeignCurrency = $foreignCurrency;
$destForeignCurrency = $currency;
$destForeignCurrency = $foreignCurrency;
}
/** Create a basic journal. */

59482
public/v1/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@ -19,8 +19,7 @@
-->
<template>
<form method="POST" action="#" accept-charset="UTF-8" class="form-horizontal" id="store"
enctype="multipart/form-data">
<form accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
<input name="_token" type="hidden" value="xxx">
<div class="row" v-if="error_message !== ''">
<div class="col-lg-12">
@ -164,7 +163,7 @@
</div>
</div>
<div class="box-footer" v-if="transactions.length-1 === index">
<button class="split_add_btn btn btn-primary" @click="addTransactionToArray">Add another split</button>
<button class="split_add_btn btn btn-primary" type="button" @click="addTransactionToArray">Add another split</button>
</div>
</div>
</div>

View File

@ -160,7 +160,7 @@
</div>
</div>
<div class="box-footer" v-if="transactions.length-1 === index">
<button class="btn btn-primary" @click="addTransaction">Add another split</button>
<button class="btn btn-primary" type="button" @click="addTransaction">Add another split</button>
</div>
</div>
</div>