Rule ConvertToDeposit: fix missing parameter

This commit is contained in:
Timendum 2023-06-20 15:31:49 +00:00 committed by GitHub
parent f6e778e1d4
commit 431c99c27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ class ConvertToDeposit implements ActionInterface
// update the source transaction and put in the new revenue ID.
DB::table('transactions')
->where('transaction_journal_id', '=', )
->where('transaction_journal_id', '=', $journal->id)
->where('amount', '<', 0)
->update(['account_id' => $opposingAccount->id]);