Fix for white label purchase

This commit is contained in:
Hillel Coren 2017-11-30 19:46:17 +02:00
parent b3c6fbe535
commit 5c9f3b9239

View File

@ -6,8 +6,8 @@
@if (Auth::user()->account->hasFeature(FEATURE_WHITE_LABEL))
{{ trans('texts.white_labeled') }}
@if ($company->hasActivePlan() && $company->daysUntilPlanExpires() <= 10)
- <b>{!! trans('texts.license_expiring', [
@if (! Utils::isNinja() && $company->hasActivePlan() && $company->daysUntilPlanExpires() <= 10)
<br/><b>{!! trans('texts.license_expiring', [
'count' => $company->daysUntilPlanExpires(),
'link' => '<a href="#" onclick="buyWhiteLabel()">' . trans('texts.click_here') . '</a>',
]) !!}</b>