mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix for #2438
This commit is contained in:
parent
19bd295c71
commit
633c776ebf
@ -297,9 +297,9 @@ class TransactionJournalFactory
|
|||||||
$foreignCurrency = $this->getCurrency($foreignCurrency, $destinationAccount);
|
$foreignCurrency = $this->getCurrency($foreignCurrency, $destinationAccount);
|
||||||
|
|
||||||
$sourceCurrency = $currency;
|
$sourceCurrency = $currency;
|
||||||
$destCurrency = $foreignCurrency;
|
$destCurrency = $currency;
|
||||||
$sourceForeignCurrency = $foreignCurrency;
|
$sourceForeignCurrency = $foreignCurrency;
|
||||||
$destForeignCurrency = $currency;
|
$destForeignCurrency = $foreignCurrency;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Create a basic journal. */
|
/** Create a basic journal. */
|
||||||
|
59482
public/v1/js/app.js
vendored
59482
public/v1/js/app.js
vendored
File diff suppressed because one or more lines are too long
@ -19,8 +19,7 @@
|
|||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<form method="POST" action="#" accept-charset="UTF-8" class="form-horizontal" id="store"
|
<form accept-charset="UTF-8" class="form-horizontal" enctype="multipart/form-data">
|
||||||
enctype="multipart/form-data">
|
|
||||||
<input name="_token" type="hidden" value="xxx">
|
<input name="_token" type="hidden" value="xxx">
|
||||||
<div class="row" v-if="error_message !== ''">
|
<div class="row" v-if="error_message !== ''">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
@ -164,7 +163,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer" v-if="transactions.length-1 === index">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -160,7 +160,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer" v-if="transactions.length-1 === index">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user