Do not remove liabilities.

This commit is contained in:
James Cole
2023-03-02 21:06:53 +01:00
parent 849e006eda
commit a26f5e2e6d

View File

@@ -269,6 +269,11 @@ class UpgradeLiabilitiesEight extends Command
if ((int)$dest->account_id === (int)$account->id && $source->account->accountType->type === AccountType::REVENUE) {
$delete = true;
}
// overruled. No transaction will be deleted, ever.
// code is kept in place so i can revisit my reasoning.
$delete = false;
if ($delete) {
Log::debug(
sprintf(