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