From 42b8479678a327e66d861cbeda4c1a76761518ed Mon Sep 17 00:00:00 2001 From: Ritikesh yadav Date: Mon, 1 Jul 2024 19:27:48 +0530 Subject: [PATCH] fixed manage investor --- app/Http/Controllers/Admin/ManageInvestorController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Admin/ManageInvestorController.php b/app/Http/Controllers/Admin/ManageInvestorController.php index 43afb35..257da2a 100644 --- a/app/Http/Controllers/Admin/ManageInvestorController.php +++ b/app/Http/Controllers/Admin/ManageInvestorController.php @@ -454,7 +454,7 @@ class ManageInvestorController extends Controller array_push($productDetails, $dataArr); } elseif (MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->first()) { $data = MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->latest()->first(); - $dataArr['total_investment_amount'] = $data->getRawOriginal('absolute_return_till_date'); + $dataArr['total_investment_amount'] = $data->getRawOriginal('investment_value'); array_push($productDetails, $dataArr); } elseif (MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->first()) { $data = MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->latest()->first();