diff --git a/app/Http/Controllers/Admin/ManageInvestorController.php b/app/Http/Controllers/Admin/ManageInvestorController.php index 7031df1..d04a0bc 100644 --- a/app/Http/Controllers/Admin/ManageInvestorController.php +++ b/app/Http/Controllers/Admin/ManageInvestorController.php @@ -194,7 +194,7 @@ class ManageInvestorController extends Controller public function investedProductDetails($id) { - $monthlyUpdateMaster = MonthlyUpdateMaster::findOrFail($id); + $monthlyUpdateMaster = MonthlyUpdateMaster::with('companies')->findOrFail($id); $peerToPeerLending = ['Finance Peer', 'Faircent', 'Liquiloans']; $indianfinacial = ['Invoice Discounting', 'Clean And Green Assets', 'Venture Debt', 'High Yield Finance', 'Securitized debt instrument', 'Lease Based Financing', 'Revenue Based Financing']; if (in_array($monthlyUpdateMaster->categories, $peerToPeerLending)) { @@ -206,6 +206,7 @@ class ManageInvestorController extends Controller } elseif ($monthlyUpdateMaster->categories == "Alternative Investment Fund") { $data = MonthlyUpdateAlternativeInvestmentFund::where('custom_id', $monthlyUpdateMaster->custom_id)->latest()->first(); } + // dd($data); return view('Admin.Pages.manage_investors.invested_products.index', [ 'monthlyUpdateMaster' => $monthlyUpdateMaster, 'data' => $data diff --git a/app/helper.php b/app/helper.php index a51beda..7f8b71b 100644 --- a/app/helper.php +++ b/app/helper.php @@ -62,7 +62,7 @@ function imagePath($path = null) $finalPath = "https://staging.jerichoalternatives.in/"; } if (env('APP_ENV') == 'local') { - $finalPath = "http://localhost/jericho_28_march/"; + $finalPath = "http://localhost/my-freeu/"; } return $finalPath . $path; } diff --git a/public/excel-template/FractionalRealEstateTemplate.xlsx b/public/excel-template/FractionalRealEstateTemplate.xlsx index d4b174f..ae1e938 100644 Binary files a/public/excel-template/FractionalRealEstateTemplate.xlsx and b/public/excel-template/FractionalRealEstateTemplate.xlsx differ diff --git a/resources/views/Admin/Pages/manage_investors/invested_products/alternative_investment_fund.blade.php b/resources/views/Admin/Pages/manage_investors/invested_products/alternative_investment_fund.blade.php index 1bb4079..b66179c 100644 --- a/resources/views/Admin/Pages/manage_investors/invested_products/alternative_investment_fund.blade.php +++ b/resources/views/Admin/Pages/manage_investors/invested_products/alternative_investment_fund.blade.php @@ -12,9 +12,9 @@ - + --}} @@ -158,7 +158,7 @@ -
{{$monthlyUpdateMaster->investment_platform}}
+
{{$monthlyUpdateMaster->companies->company_name}}
-
+ {{--
+
--}}