From 266cb851f6a686d7afce3da259740a3563982fbb Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Sun, 5 Nov 2017 14:51:27 +0200 Subject: [PATCH] show contact name as link on dashbaord --- app/Models/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Activity.php b/app/Models/Activity.php index c637f467913f..43b9fff4795e 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -126,7 +126,7 @@ class Activity extends Eloquent 'user' => $isSystem ? '' . trans('texts.system') . '' : e($user->getDisplayName()), 'invoice' => $invoice ? link_to($invoice->getRoute(), $invoice->getDisplayName()) : null, 'quote' => $invoice ? link_to($invoice->getRoute(), $invoice->getDisplayName()) : null, - 'contact' => $contactId ? e($client->getDisplayName()) : e($user->getDisplayName()), + 'contact' => $contactId ? link_to($client->getRoute(), $client->getDisplayName()) : e($user->getDisplayName()), 'payment' => $payment ? e($payment->transaction_reference) : null, 'payment_amount' => $payment ? $account->formatMoney($payment->amount, $payment) : null, 'adjustment' => $this->adjustment ? $account->formatMoney($this->adjustment, $this) : null,