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

This commit is contained in:
JC5
2026-04-03 07:31:27 +02:00
parent 4435231ffb
commit ecab686ac9
62 changed files with 268 additions and 791 deletions

View File

@@ -196,11 +196,7 @@ class ConvertToTransfer implements ActionInterface
}
// update source transaction:
DB::table('transactions')
->where('transaction_journal_id', '=', $journal->id)
->where('amount', '<', 0)
->update(['account_id' => $opposing->id])
;
DB::table('transactions')->where('transaction_journal_id', '=', $journal->id)->where('amount', '<', 0)->update(['account_id' => $opposing->id]);
// change transaction type of journal:
$newType = TransactionType::whereType(TransactionTypeEnum::TRANSFER->value)->first();