mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-20 11:33:59 +00:00
fix #770
This commit is contained in:
@@ -14,6 +14,7 @@ declare(strict_types=1);
|
|||||||
namespace FireflyIII\Http\Controllers\Transaction;
|
namespace FireflyIII\Http\Controllers\Transaction;
|
||||||
|
|
||||||
|
|
||||||
|
use Carbon\Carbon;
|
||||||
use ExpandedForm;
|
use ExpandedForm;
|
||||||
use FireflyIII\Events\StoredTransactionJournal;
|
use FireflyIII\Events\StoredTransactionJournal;
|
||||||
use FireflyIII\Events\UpdatedTransactionJournal;
|
use FireflyIII\Events\UpdatedTransactionJournal;
|
||||||
@@ -115,7 +116,7 @@ class SingleController extends Controller
|
|||||||
'foreign_amount' => $foreignAmount,
|
'foreign_amount' => $foreignAmount,
|
||||||
'native_amount' => $foreignAmount,
|
'native_amount' => $foreignAmount,
|
||||||
'amount_currency_id_amount' => $transaction->foreign_currency_id ?? 0,
|
'amount_currency_id_amount' => $transaction->foreign_currency_id ?? 0,
|
||||||
'date' => $journal->date->format('Y-m-d'),
|
'date' => (new Carbon())->format('Y-m-d'),
|
||||||
'budget_id' => $budgetId,
|
'budget_id' => $budgetId,
|
||||||
'category' => $categoryName,
|
'category' => $categoryName,
|
||||||
'tags' => $tags,
|
'tags' => $tags,
|
||||||
|
Reference in New Issue
Block a user