mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Fix #3862
This commit is contained in:
@@ -51,7 +51,6 @@
|
|||||||
<li class="text-danger">{{ error }}</li>
|
<li class="text-danger">{{ error }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@@ -616,7 +616,6 @@ export default {
|
|||||||
type: transactionType,
|
type: transactionType,
|
||||||
date: date,
|
date: date,
|
||||||
amount: row.amount,
|
amount: row.amount,
|
||||||
currency_id: row.currency_id,
|
|
||||||
|
|
||||||
description: row.description,
|
description: row.description,
|
||||||
|
|
||||||
@@ -644,6 +643,11 @@ export default {
|
|||||||
currentArray.foreign_amount = foreignAmount;
|
currentArray.foreign_amount = foreignAmount;
|
||||||
currentArray.foreign_currency_id = foreignCurrency;
|
currentArray.foreign_currency_id = foreignCurrency;
|
||||||
|
|
||||||
|
// only submit currency ID when not 0:
|
||||||
|
if(0 !== row.currency_id && null !== row.currency_id) {
|
||||||
|
currentArray.currency_id = row.currency_id;
|
||||||
|
}
|
||||||
|
|
||||||
// set budget id and piggy ID.
|
// set budget id and piggy ID.
|
||||||
currentArray.budget_id = parseInt(row.budget);
|
currentArray.budget_id = parseInt(row.budget);
|
||||||
if (parseInt(row.bill) > 0) {
|
if (parseInt(row.bill) > 0) {
|
||||||
|
Reference in New Issue
Block a user