fixing chnages
This commit is contained in:
@@ -237,7 +237,8 @@ class DashboardController extends Controller
|
||||
array_push($productDetails, $investmentArr);
|
||||
} elseif (MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->first()) {
|
||||
$data = MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->latest()->first();
|
||||
$investmentArr = $this->totalInvestmentAmount_api($singleMUM, $data->getRawOriginal('absolute_return_till_date'));
|
||||
// dd($data);
|
||||
$investmentArr = $this->totalInvestmentAmount_api($singleMUM, $data->getRawOriginal('investment_value'));
|
||||
array_push($productDetails, $investmentArr);
|
||||
} elseif (MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->first()) {
|
||||
$data = MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->latest()->first();
|
||||
@@ -288,7 +289,8 @@ class DashboardController extends Controller
|
||||
array_push($productDetails, $investmentArr);
|
||||
} elseif (MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->first()) {
|
||||
$data = MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->latest()->first();
|
||||
$investmentArr = $this->totalInvestmentAmount($singleMUM, $data->getRawOriginal('absolute_return_till_date'));
|
||||
// dd($data);
|
||||
$investmentArr = $this->totalInvestmentAmount($singleMUM, $data->getRawOriginal('investment_value'));
|
||||
array_push($productDetails, $investmentArr);
|
||||
}
|
||||
// elseif (MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->first()) {
|
||||
|
||||
Reference in New Issue
Block a user