James Cole 2023-12-22 05:15:09 +01:00
parent 8a4985261a
commit 669aedeea3
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -80,6 +80,7 @@ class GroupUpdateService
sprintf('Will now update journal #%d (only journal in group #%d)', $first->id, $transactionGroup->id)
);
$this->updateTransactionJournal($transactionGroup, $first, reset($transactions));
$transactionGroup->touch();
$transactionGroup->refresh();
app('preferences')->mark();
@ -94,6 +95,7 @@ class GroupUpdateService
if (0 === count($updated)) {
app('log')->error('There were no transactions updated or created. Will not delete anything.');
$transactionGroup->touch();
$transactionGroup->refresh();
app('preferences')->mark();
@ -115,6 +117,7 @@ class GroupUpdateService
}
app('preferences')->mark();
$transactionGroup->touch();
$transactionGroup->refresh();
return $transactionGroup;