mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 09:11:20 +00:00
Fix #2596
This commit is contained in:
2
public/v1/js/app.js
vendored
2
public/v1/js/app.js
vendored
File diff suppressed because one or more lines are too long
@@ -521,7 +521,6 @@
|
|||||||
tagList.push(row.tags[tagKey].text);
|
tagList.push(row.tags[tagKey].text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// set foreign currency info:
|
// set foreign currency info:
|
||||||
if (row.foreign_amount.amount !== '' && parseFloat(row.foreign_amount.amount) !== .00) {
|
if (row.foreign_amount.amount !== '' && parseFloat(row.foreign_amount.amount) !== .00) {
|
||||||
foreignAmount = row.foreign_amount.amount;
|
foreignAmount = row.foreign_amount.amount;
|
||||||
@@ -565,12 +564,9 @@
|
|||||||
payment_date: row.custom_fields.payment_date,
|
payment_date: row.custom_fields.payment_date,
|
||||||
invoice_date: row.custom_fields.invoice_date,
|
invoice_date: row.custom_fields.invoice_date,
|
||||||
internal_reference: row.custom_fields.internal_reference,
|
internal_reference: row.custom_fields.internal_reference,
|
||||||
notes: row.custom_fields.notes
|
notes: row.custom_fields.notes,
|
||||||
|
tags: tagList
|
||||||
};
|
};
|
||||||
|
|
||||||
if (tagList.length > 0) {
|
|
||||||
currentArray.tags = tagList;
|
|
||||||
}
|
|
||||||
if (null !== foreignAmount) {
|
if (null !== foreignAmount) {
|
||||||
currentArray.foreign_amount = foreignAmount;
|
currentArray.foreign_amount = foreignAmount;
|
||||||
currentArray.foreign_currency_id = foreignCurrency;
|
currentArray.foreign_currency_id = foreignCurrency;
|
||||||
|
|||||||
Reference in New Issue
Block a user