mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Temporary reshuffeling to fix API
This commit is contained in:
		| @@ -63,7 +63,7 @@ class AccountTransformer extends AbstractTransformer | ||||
|         $fullType      = $account->accountType->type; | ||||
|         $accountType   = (string) config(sprintf('firefly.shortNamesByFullName.%s', $fullType)); | ||||
|         $liabilityType = (string) config(sprintf('firefly.shortLiabilityNameByFullName.%s', $fullType)); | ||||
|         $liabilityType = '' === $liabilityType ? null : $liabilityType; | ||||
|         $liabilityType = '' === $liabilityType ? null : strtolower($liabilityType); | ||||
|  | ||||
|         // get account role (will only work if the type is asset. | ||||
|         $accountRole = $this->getAccountRole($account, $accountType); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user