mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Add check for zip api key
This commit is contained in:
parent
fb33fadae3
commit
1233cfc0c2
@ -91,6 +91,7 @@ class AccountTransformer extends EntityTransformer
|
||||
'trial_days_left' => Ninja::isHosted() ? (int) $account->getTrialDays() : 0,
|
||||
'account_sms_verified' => (bool) $account->account_sms_verified,
|
||||
'has_iap_plan' => (bool)$account->inapp_transaction_id,
|
||||
'tax_api_enabled' => (bool) config('services.tax.zip_tax.key') ? true : false
|
||||
|
||||
];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user