mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Fix tags and rule groups.
This commit is contained in:
@@ -139,12 +139,14 @@ class JournalUpdateService
|
||||
$this->updateField('date');
|
||||
$this->updateField('order');
|
||||
|
||||
|
||||
$this->transactionJournal->save();
|
||||
$this->transactionJournal->refresh();
|
||||
|
||||
$this->updateCategory();
|
||||
$this->updateBudget();
|
||||
$this->updateTags();
|
||||
$this->updateReconciled();
|
||||
$this->updateNotes();
|
||||
$this->updateMeta();
|
||||
$this->updateCurrency();
|
||||
@@ -750,4 +752,14 @@ class JournalUpdateService
|
||||
}
|
||||
Log::debug('No type field present.');
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private function updateReconciled(): void
|
||||
{
|
||||
if (array_key_exists('reconciled', $this->data) && is_bool($this->data['reconciled'])) {
|
||||
$this->transactionJournal->transactions()->update(['reconciled' => $this->data['reconciled']]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user