Various includes fixed, optimize account deletion.

This commit is contained in:
James Cole
2025-02-16 19:30:40 +01:00
parent 6c38b87ec5
commit 344bfbe059
7 changed files with 36 additions and 21 deletions

View File

@@ -199,7 +199,7 @@ trait ModelInformation
++$index;
// amount_exactly:
$journalTriggers[$index] = 'amount_exactly';
$journalTriggers[$index] = 'amount_is';
$values[$index] = $destination->amount;
++$index;
@@ -244,7 +244,7 @@ trait ModelInformation
// notes (if)
$notes = $journal->notes()->first();
if (null !== $notes) {
$journalTriggers[$index] = 'notes_are';
$journalTriggers[$index] = 'notes_is';
$values[$index] = $notes->text;
}