diff --git a/app/Transformers/AccountTransformer.php b/app/Transformers/AccountTransformer.php index c6c2d61bf2..9a54374657 100644 --- a/app/Transformers/AccountTransformer.php +++ b/app/Transformers/AccountTransformer.php @@ -98,7 +98,7 @@ class AccountTransformer extends AbstractTransformer 'active' => $account->active, 'order' => $account->order, 'name' => $account->name, - 'type' => $accountType, + 'type' => strtolower($accountType), 'account_role' => $accountRole, 'currency_id' => $currencyId, 'currency_code' => $currencyCode,