mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add is_hosted flag to accoun transformer
This commit is contained in:
parent
730aa4219c
commit
90e60fb8fc
@ -85,6 +85,7 @@ class AccountTransformer extends EntityTransformer
|
||||
'is_migrated' => (bool) $account->is_migrated,
|
||||
'hosted_client_count' => (int) $account->hosted_client_count,
|
||||
'hosted_company_count' => (int) $account->hosted_company_count,
|
||||
'is_hosted' => (bool) Ninja::isHosted(),
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user