mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Check if confirmed to show portal link
This commit is contained in:
parent
657f5c066c
commit
c45a3b030c
@ -148,7 +148,7 @@
|
||||
@if ($contact->phone)
|
||||
<i class="fa fa-phone" style="width: 20px"></i>{{ $contact->phone }}<br/>
|
||||
@endif
|
||||
@if ($client->account->enable_client_portal)
|
||||
@if (Auth::user()->confirmed && $client->account->enable_client_portal)
|
||||
<i class="fa fa-dashboard" style="width: 20px"></i><a href="{{ $contact->link }}" target="_blank">{{ trans('texts.view_client_portal') }}</a><br/>
|
||||
@endif
|
||||
@endforeach
|
||||
|
Loading…
Reference in New Issue
Block a user