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>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@@ -616,7 +616,6 @@ export default {
|
||||
type: transactionType,
|
||||
date: date,
|
||||
amount: row.amount,
|
||||
currency_id: row.currency_id,
|
||||
|
||||
description: row.description,
|
||||
|
||||
@@ -644,6 +643,11 @@ export default {
|
||||
currentArray.foreign_amount = foreignAmount;
|
||||
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.
|
||||
currentArray.budget_id = parseInt(row.budget);
|
||||
if (parseInt(row.bill) > 0) {
|
||||
|
Reference in New Issue
Block a user