mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Merge pull request #7101 from firefly-iii/fix-liabilities
Fix liabilities
This commit is contained in:
commit
d6d395eccd
@ -269,6 +269,11 @@ class UpgradeLiabilitiesEight extends Command
|
|||||||
if ((int)$dest->account_id === (int)$account->id && $source->account->accountType->type === AccountType::REVENUE) {
|
if ((int)$dest->account_id === (int)$account->id && $source->account->accountType->type === AccountType::REVENUE) {
|
||||||
$delete = true;
|
$delete = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// overruled. No transaction will be deleted, ever.
|
||||||
|
// code is kept in place so i can revisit my reasoning.
|
||||||
|
$delete = false;
|
||||||
|
|
||||||
if ($delete) {
|
if ($delete) {
|
||||||
Log::debug(
|
Log::debug(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
Loading…
Reference in New Issue
Block a user