diff --git a/app/Services/Internal/Update/JournalUpdateService.php b/app/Services/Internal/Update/JournalUpdateService.php index c1ce184cd6..c901eaa9f6 100644 --- a/app/Services/Internal/Update/JournalUpdateService.php +++ b/app/Services/Internal/Update/JournalUpdateService.php @@ -674,6 +674,14 @@ class JournalUpdateService $this->destinationTransaction->refresh(); Log::debug(sprintf('Updated amount to "%s"', $amount)); + $group = $this->transactionGroup; + if(null === $group) { + $group = $this->transactionJournal?->transactionGroup; + } + if(null === $group) { + return; + } + event(new TriggeredAuditLog( $this->transactionGroup->user, $this->transactionGroup,