From 6353ad05ffeed9128eb1872f6d325ccf28c1e346 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Mon, 31 Oct 2016 16:08:00 +0200 Subject: [PATCH] Remove 'unamed client' label --- app/Models/Client.php | 2 +- resources/views/accounts/client_portal.blade.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Models/Client.php b/app/Models/Client.php index 7ab4ecac0a4c..d6230c709a6c 100644 --- a/app/Models/Client.php +++ b/app/Models/Client.php @@ -345,7 +345,7 @@ class Client extends EntityModel $contact = $this->contacts[0]; - return $contact->getDisplayName() ?: trans('texts.unnamed_client'); + return $contact->getDisplayName(); } /** diff --git a/resources/views/accounts/client_portal.blade.php b/resources/views/accounts/client_portal.blade.php index b65f260ef2c9..1ab6dbf8565b 100644 --- a/resources/views/accounts/client_portal.blade.php +++ b/resources/views/accounts/client_portal.blade.php @@ -185,7 +185,6 @@