mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-09-20 08:21:34 +02:00
Fix for client portal header navigation
This commit is contained in:
parent
d71cf4dd49
commit
af4cb1dac8
@ -483,6 +483,7 @@ class ClientPortalController extends BaseController
|
||||
return response()->view('error', [
|
||||
'error' => $error ?: trans('texts.invoice_not_found'),
|
||||
'hideHeader' => true,
|
||||
'account' => $this->getContact()->account,
|
||||
]);
|
||||
}
|
||||
|
||||
|
@ -84,7 +84,7 @@
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
@if (!isset($account) || $account->isNinjaAccount() || $account->enable_client_portal)
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@if (!isset($account) || $account->enable_client_portal_dashboard)
|
||||
@if (isset($account) && $account->enable_client_portal_dashboard)
|
||||
<li {{ Request::is('*client/dashboard') ? 'class="active"' : '' }}>
|
||||
{!! link_to('/client/dashboard', trans('texts.dashboard') ) !!}
|
||||
</li>
|
||||
|
Loading…
Reference in New Issue
Block a user