This commit is contained in:
sayaliparab
2024-06-17 20:10:46 +05:30
parent dab2238313
commit 50de318be0
3 changed files with 43 additions and 32 deletions

View File

@@ -59,7 +59,11 @@ class ManageCustomerController extends Controller
try {
$customers_data = IamPrincipal::findOrFail($id);
$customers_data = IamPrincipal::with('state','contactMessages')->findOrFail($id);
if ($customers_data->contactMessages->isEmpty()) {
Log::info('No contact messages found for customer with ID: ' . $id);
}
// return $customers_data;
return view('Admin.pages.manage_users.manage_customer.view_customer_details', compact('customers_data'));
} catch (Exception $e) {
Log::error("Manage Voucher Page Not Load " . $e->getMessage());