1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 12:12:48 +01:00

Minor fixes for PHP 7.4

This commit is contained in:
David Bomba 2021-09-29 20:25:46 +10:00
parent 7ae74ab8ed
commit 9a4b63adbb

View File

@ -219,9 +219,9 @@
->help((Utils::isNinjaProd() && ! $account->subdomain) ? trans('texts.requires_subdomain', [
'link' => link_to('/settings/client_portal', trans('texts.subdomain_is_set'), ['target' => '_blank'])
]) : ($accountGateway && $accountGateway->getApplePayEnabled() && Utils::isRootFolder() && ! $accountGateway->getAppleMerchantId() ? 'verification_file_missing' :
Utils::isNinjaProd() ? trans('texts.apple_pay_domain', [
(Utils::isNinjaProd() ? trans('texts.apple_pay_domain', [
'domain' => $account->subdomain . '.' . APP_DOMAIN, 'link' => link_to('https://dashboard.stripe.com/account/apple_pay', 'Stripe', ['target' => '_blank']),
]) : ''))
]) : '')))
->value(1) !!}
@if (Utils::isRootFolder())