From c45a3b030c87a99d472a0178de61a55fb84fb522 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 6 Sep 2016 12:12:36 +0300 Subject: [PATCH] Check if confirmed to show portal link --- resources/views/clients/show.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/clients/show.blade.php b/resources/views/clients/show.blade.php index c39167e7173e..ceb1b5c6c82b 100644 --- a/resources/views/clients/show.blade.php +++ b/resources/views/clients/show.blade.php @@ -148,7 +148,7 @@ @if ($contact->phone) {{ $contact->phone }}
@endif - @if ($client->account->enable_client_portal) + @if (Auth::user()->confirmed && $client->account->enable_client_portal) {{ trans('texts.view_client_portal') }}
@endif @endforeach