From 932bbdc29494ff40f46da5989637ffeb4a0c3058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Pocrnji=C4=8D?= Date: Thu, 9 Oct 2025 00:17:46 +0200 Subject: [PATCH] client emails were now shown --- app/Http/Controllers/ClientCaseContoller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ClientCaseContoller.php b/app/Http/Controllers/ClientCaseContoller.php index db64cf4..233c853 100644 --- a/app/Http/Controllers/ClientCaseContoller.php +++ b/app/Http/Controllers/ClientCaseContoller.php @@ -1174,7 +1174,7 @@ public function show(ClientCase $clientCase) } return Inertia::render('Cases/Show', [ - 'client' => $case->client()->with('person', fn ($q) => $q->with(['addresses', 'phones', 'bankAccounts']))->firstOrFail(), + 'client' => $case->client()->with('person', fn ($q) => $q->with(['addresses', 'phones', 'emails','bankAccounts']))->firstOrFail(), 'client_case' => $case, 'contracts' => $contracts, 'archive_meta' => [