James Cole
2023-11-08 04:56:06 +01:00
parent 80b8e676d0
commit 64ea59e4ec
2 changed files with 4 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ class FixUnevenAmount extends Command
)
);
Transaction::where('transaction_journal_id', $journal->id ?? 0)->forceDelete();
TransactionJournal::where('id', $journal->description ?? 0)->forceDelete();
TransactionJournal::where('id', $journal->id ?? 0)->forceDelete();
return;
}
@@ -141,7 +141,7 @@ class FixUnevenAmount extends Command
);
Transaction::where('transaction_journal_id', $journal->id ?? 0)->forceDelete();
TransactionJournal::where('id', $journal->description ?? 0)->forceDelete();
TransactionJournal::where('id', $journal->id ?? 0)->forceDelete();
return;
}