mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 16:54:31 -04:00
Fix errors
This commit is contained in:
parent
ed1f2b6044
commit
2af509058b
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{App::getLocale()}}">
|
||||
<head>
|
||||
@if (isset($account) && $account->hasFeature(FEATURE_WHITE_LABEL))
|
||||
@if (isset($account) && $account instanceof \App\Models\Account && $account->hasFeature(FEATURE_WHITE_LABEL))
|
||||
<title>{{ trans('texts.client_portal') }}</title>
|
||||
@else
|
||||
<title>{{ isset($title) ? ($title . ' | Invoice Ninja') : ('Invoice Ninja | ' . trans('texts.app_title')) }}</title>
|
||||
|
@ -85,12 +85,12 @@
|
||||
<li {{ Request::is('*client/invoices') ? 'class="active"' : '' }}>
|
||||
{!! link_to('/client/invoices', trans('texts.invoices') ) !!}
|
||||
</li>
|
||||
@if ($account->hasFeature(FEATURE_DOCUMENTS))
|
||||
@if (isset($account) && $account->hasFeature(FEATURE_DOCUMENTS))
|
||||
<li {{ Request::is('*client/documents') ? 'class="active"' : '' }}>
|
||||
{!! link_to('/client/documents', trans('texts.documents') ) !!}
|
||||
</li>
|
||||
@endif
|
||||
@if ($account->getTokenGatewayId())
|
||||
@if (isset($account) && $account->getTokenGatewayId())
|
||||
<li {{ Request::is('*client/paymentmethods') ? 'class="active"' : '' }}>
|
||||
{!! link_to('/client/paymentmethods', trans('texts.payment_methods') ) !!}
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user