🤖 Auto commit for release 'develop' on 2026-03-14

This commit is contained in:
JC5
2026-03-14 08:44:01 +01:00
parent 8abd2a6604
commit a907f9b2f7
22 changed files with 136 additions and 61 deletions

View File

@@ -44,7 +44,10 @@ class PrependNotes implements ActionInterface
public function actOnArray(array $journal): bool
{
$dbNote = Note::where('noteable_id', (int) $journal['transaction_journal_id'])->where('noteable_type', TransactionJournal::class)->first(['notes.*']);
$dbNote = Note::where('noteable_id', (int) $journal['transaction_journal_id'])
->where('noteable_type', TransactionJournal::class)
->first(['notes.*'])
;
if (null === $dbNote) {
$dbNote = new Note();
$dbNote->noteable_id = (int) $journal['transaction_journal_id'];