🤖 Auto commit for release 'develop' on 2025-11-12

This commit is contained in:
JC5
2025-11-12 05:42:49 +01:00
parent 0934de09bb
commit c91845a0f2
6 changed files with 160 additions and 158 deletions

View File

@@ -47,7 +47,7 @@ trait AccountFilter
AccountTypeEnum::DEBT->value,
AccountTypeEnum::MORTGAGE->value,
],
'normal' => [
'normal' => [
AccountTypeEnum::ASSET->value,
AccountTypeEnum::EXPENSE->value,
AccountTypeEnum::REVENUE->value,
@@ -104,9 +104,10 @@ trait AccountFilter
$return = array_merge($return, $this->types[$part]);
}
}
if(0 === count($return)) {
if (0 === count($return)) {
$return = $this->types['normal'];
}
return $return;
}
}

View File

@@ -74,7 +74,7 @@ trait TransactionFilter
$return = array_merge($return, $this->transactionTypes[$part]);
}
}
if(0 === count($return)) {
if (0 === count($return)) {
$return = $this->transactionTypes['all'];
}