mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-15 19:22:08 -06:00
Make sure tags work, make sure update is refreshed.
This commit is contained in:
parent
e209766ad0
commit
e308b0f617
@ -212,7 +212,7 @@ class RecurrenceUpdateRequest extends Request
|
||||
// new and updated fields:
|
||||
'piggy_bank_id' => isset($transaction['piggy_bank_id']) ? (int)$transaction['piggy_bank_id'] : null,
|
||||
'piggy_bank_name' => $transaction['piggy_bank_name'] ?? null,
|
||||
'tags' => $transaction['tags'],
|
||||
'tags' => $transaction['tags'] ?? [],
|
||||
'budget_id' => isset($transaction['budget_id']) ? (int)$transaction['budget_id'] : null,
|
||||
'budget_name' => $transaction['budget_name'] ?? null,
|
||||
'category_id' => isset($transaction['category_id']) ? (int)$transaction['category_id'] : null,
|
||||
|
@ -276,7 +276,7 @@ class RecurrenceTransformer extends AbstractTransformer
|
||||
$return = [];
|
||||
// get all transactions:
|
||||
/** @var RecurrenceTransaction $transaction */
|
||||
foreach ($recurrence->recurrenceTransactions as $transaction) {
|
||||
foreach ($recurrence->recurrenceTransactions()->get() as $transaction) {
|
||||
|
||||
$sourceAccount = $transaction->sourceAccount;
|
||||
$destinationAccount = $transaction->destinationAccount;
|
||||
|
Loading…
Reference in New Issue
Block a user