mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 06:43:23 +00:00
Fix #2395
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
@@ -365,6 +365,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.transactions.push({
|
this.transactions.push({
|
||||||
|
transaction_journal_id: transaction.transaction_journal_id,
|
||||||
description: transaction.description,
|
description: transaction.description,
|
||||||
date: transaction.date.substr(0, 10),
|
date: transaction.date.substr(0, 10),
|
||||||
amount: this.positiveAmount(transaction.amount),
|
amount: this.positiveAmount(transaction.amount),
|
||||||
@@ -541,12 +542,11 @@
|
|||||||
if (0 === sourceId) {
|
if (0 === sourceId) {
|
||||||
sourceId = null;
|
sourceId = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
currentArray =
|
currentArray =
|
||||||
{
|
{
|
||||||
|
transaction_journal_id: row.transaction_journal_id,
|
||||||
type: transactionType,
|
type: transactionType,
|
||||||
date: date,
|
date: date,
|
||||||
|
|
||||||
amount: row.amount,
|
amount: row.amount,
|
||||||
currency_id: row.currency_id,
|
currency_id: row.currency_id,
|
||||||
|
|
||||||
@@ -743,6 +743,7 @@
|
|||||||
|
|
||||||
addTransaction: function (e) {
|
addTransaction: function (e) {
|
||||||
this.transactions.push({
|
this.transactions.push({
|
||||||
|
transaction_journal_id: 0,
|
||||||
description: "",
|
description: "",
|
||||||
date: "",
|
date: "",
|
||||||
amount: "",
|
amount: "",
|
||||||
|
Reference in New Issue
Block a user