🤖 Auto commit for release 'develop' on 2026-01-24

This commit is contained in:
JC5
2026-01-24 13:57:28 +01:00
parent 844470bf08
commit 4a4f1ff055
50 changed files with 795 additions and 740 deletions

View File

@@ -50,13 +50,14 @@ class AppendDescription implements ActionInterface
$append = $this->action->getValue($journal);
$description = sprintf('%s %s', $journal['description'], $append);
DB::table('transaction_journals')
->where('id', $journal['transaction_journal_id'])
->limit(1)
->update(['description' => $description]);
->where('id', $journal['transaction_journal_id'])
->limit(1)
->update(['description' => $description])
;
// event for audit log entry
/** @var TransactionJournal $object */
$object = TransactionJournal::where('user_id', $journal['user_id'])->find($journal['transaction_journal_id']);
$object = TransactionJournal::where('user_id', $journal['user_id'])->find($journal['transaction_journal_id']);
event(new TransactionGroupRequestsAuditLogEntry($this->action->rule, $object, 'update_description', $journal['description'], $description));
return true;