mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
commit
86534fe1e2
@ -1 +1 @@
|
|||||||
5.1.55
|
5.1.56
|
@ -38,10 +38,12 @@ class CompanyUserTransformer extends EntityTransformer
|
|||||||
|
|
||||||
public function transform(CompanyUser $company_user)
|
public function transform(CompanyUser $company_user)
|
||||||
{
|
{
|
||||||
|
$blank_obj = new \stdClass;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'permissions' => $company_user->permissions ?: '',
|
'permissions' => $company_user->permissions ?: '',
|
||||||
'notifications' => (object) $company_user->notifications,
|
'notifications' => (object) $company_user->notifications ?: $blank_obj,
|
||||||
'settings' => (object) $company_user->settings,
|
'settings' => (object) $company_user->settings ?: $blank_obj,
|
||||||
'is_owner' => (bool) $company_user->is_owner,
|
'is_owner' => (bool) $company_user->is_owner,
|
||||||
'is_admin' => (bool) $company_user->is_admin,
|
'is_admin' => (bool) $company_user->is_admin,
|
||||||
'is_locked' => (bool) $company_user->is_locked,
|
'is_locked' => (bool) $company_user->is_locked,
|
||||||
|
@ -14,8 +14,8 @@ return [
|
|||||||
'require_https' => env('REQUIRE_HTTPS', true),
|
'require_https' => env('REQUIRE_HTTPS', true),
|
||||||
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
'app_url' => rtrim(env('APP_URL', ''), '/'),
|
||||||
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
'app_domain' => env('APP_DOMAIN', 'invoicing.co'),
|
||||||
'app_version' => '5.1.55',
|
'app_version' => '5.1.56',
|
||||||
'app_tag' => '5.1.55-release',
|
'app_tag' => '5.1.56-release',
|
||||||
'minimum_client_version' => '5.0.16',
|
'minimum_client_version' => '5.0.16',
|
||||||
'terms_version' => '1.0.1',
|
'terms_version' => '1.0.1',
|
||||||
'api_secret' => env('API_SECRET', false),
|
'api_secret' => env('API_SECRET', false),
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
@section('gateway_head')
|
@section('gateway_head')
|
||||||
<meta name="stripe-publishable-key" content="{{ $gateway->getPublishableKey() }}">
|
<meta name="stripe-publishable-key" content="{{ $gateway->getPublishableKey() }}">
|
||||||
<meta name="stripe-account-id" content="{{ $gateway->company_gateway->getConfigField('account_id') }}">
|
<meta name="stripe-account-id" content="{{ $gateway->getConfigField('account_id') }}">
|
||||||
<meta name="stripe-secret" content="{{ $intent->client_secret }}">
|
<meta name="stripe-secret" content="{{ $intent->client_secret }}">
|
||||||
<meta name="only-authorization" content="true">
|
<meta name="only-authorization" content="true">
|
||||||
<meta name="stripe-token" content="">
|
<meta name="stripe-token" content="">
|
||||||
|
Loading…
Reference in New Issue
Block a user