diff --git a/app/Http/Controllers/Admin/ManageFreeUInvestmentController.php b/app/Http/Controllers/Admin/ManageFreeUInvestmentController.php index 58e6378..2082f99 100644 --- a/app/Http/Controllers/Admin/ManageFreeUInvestmentController.php +++ b/app/Http/Controllers/Admin/ManageFreeUInvestmentController.php @@ -384,6 +384,7 @@ class ManageFreeUInvestmentController extends Controller 3 => ['id' => Category::GlobalPrivateEquityFundId, 'file' => 'InternationalPrivateEquityFundTemplate'], 4 => ['id' => Category::GlobalVentureDebtId, 'file' => 'RealEstateInvestmentTrustsTemplate'], 5 => ['id' => Category::GlobalHedgeFundId, 'file' => 'InternationalHedgeFundTemplate'], + 6 => ['id' => Category::GlobalPrivateCreditFundId, 'file' => 'PrivateCreditTemplate'], ]; if (!array_key_exists($id, $exchangeData)) { @@ -410,7 +411,7 @@ class ManageFreeUInvestmentController extends Controller public function viewFund($id) { - $fund = Product::with('category', 'funds.returns','product_images')->funds()->find($id); + $fund = Product::with('category', 'funds.returns', 'product_images')->funds()->find($id); // dd($fund); return view('Admin.Pages.manage_freeu_investment.view-product.funds', compact('fund')); } @@ -419,7 +420,7 @@ class ManageFreeUInvestmentController extends Controller { // $categories = Category::all(); // $products = Product::with('category', 'fractional_real_estate.companies')->fractionalrealestate()->find($id); - $fund = Product::with('category', 'funds.returns','product_images')->funds()->find($id); + $fund = Product::with('category', 'funds.returns', 'product_images')->funds()->find($id); // dd($fund); return view('Admin.Pages.manage_freeu_investment.edit-product.funds', compact('fund')); } @@ -505,9 +506,9 @@ class ManageFreeUInvestmentController extends Controller } if ($request->hasFile('images')) { - // dd($request->hasFile('images')); + // dd($request->hasFile('images')); // $edit_program_images = ProgramImage::where('programs_xid', $program_id)->delete(); - + foreach ($request->file('images') as $key => $file) { $filename = date('YmdHi') . '_' . $file->getClientOriginalName(); $file->move(public_path('assets/uploads/fund_images'), $filename); @@ -545,14 +546,15 @@ class ManageFreeUInvestmentController extends Controller return response()->json(['status' => 200, 'message' => 'Fund Updated Successfully']); } - public function delete_fund_image(Request $request){ + public function delete_fund_image(Request $request) + { $image = ProductImage::find($request->image_id); $previous_image = public_path($image->images); File::delete($previous_image); $image->id = $request->image_id; $image->delete(); return response()->json(['success' => true, 'status' => 200]); -// dd("requ",$request->all()); + // dd("requ",$request->all()); } @@ -744,7 +746,7 @@ class ManageFreeUInvestmentController extends Controller public function viewRealEstate($id) { // $products = Product::with('category', 'fractional_real_estate.companies')->fractionalrealestate()->find($id); - $products = Product::with('category', 'realEstates','product_images')->realestates()->find($id); + $products = Product::with('category', 'realEstates', 'product_images')->realestates()->find($id); // dd($products); return view('Admin.Pages.manage_freeu_investment.view-product.real-estate', compact('products')); } @@ -752,7 +754,7 @@ class ManageFreeUInvestmentController extends Controller public function editRealEstateProduct($id) { $categories = Category::all(); - $products = Product::with('category', 'realEstates','product_images')->realestates()->find($id); + $products = Product::with('category', 'realEstates', 'product_images')->realestates()->find($id); return view('Admin.Pages.manage_freeu_investment.edit-product.real-estate', compact('products', 'categories')); } @@ -877,7 +879,7 @@ class ManageFreeUInvestmentController extends Controller if ($request->hasFile('images')) { // dd($request->hasFile('images')); - // $edit_program_images = ProgramImage::where('programs_xid', $program_id)->delete(); + // $edit_program_images = ProgramImage::where('programs_xid', $program_id)->delete(); foreach ($request->file('images') as $key => $file) { $filename = date('YmdHi') . '_' . $file->getClientOriginalName(); @@ -889,8 +891,6 @@ class ManageFreeUInvestmentController extends Controller $realEstate->save(); } - - } return response()->json(['status' => 200, 'message' => 'Real Estate Updated Successfully']); @@ -1194,11 +1194,11 @@ class ManageFreeUInvestmentController extends Controller { // $categories = Category::all(); // $products = Product::with('category', 'fractional_real_estate.companies')->fractionalrealestate()->find($id); - $fractionalRealEstate = Product::with('category', 'fractional_real_estate','product_images')->fractionalrealestate()->find($id); + $fractionalRealEstate = Product::with('category', 'fractional_real_estate', 'product_images')->fractionalrealestate()->find($id); return view('Admin.Pages.manage_freeu_investment.edit-product.fractional-real-estate', compact('fractionalRealEstate')); } - public function updateFractionalRealEstateProduct(Request $request,$id) + public function updateFractionalRealEstateProduct(Request $request, $id) { $request->validate([ 'property_name_and_location' => 'required' diff --git a/app/Http/Controllers/Admin/ManageFreeUInvestments/LongOnlyEquityFundController.php b/app/Http/Controllers/Admin/ManageFreeUInvestments/LongOnlyEquityFundController.php new file mode 100644 index 0000000..cffb3ab --- /dev/null +++ b/app/Http/Controllers/Admin/ManageFreeUInvestments/LongOnlyEquityFundController.php @@ -0,0 +1,108 @@ +category_name; + $category_id = $category->id; + $excelFileName = 'LongOnlyFundsTemplate.xlsx'; + return view('Admin.Pages.manage_freeu_investment.upload-product.alternative-investment-fund', compact('text', 'category_id', 'excelFileName')); + } + + /** + * Store a newly created resource in storage. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\Response + */ + public function store(Request $request) + { + request()->validate([ + 'productFile' => 'required|mimes:xlx,xls,xlsx|max:2048' + ]); + $category_type = $request->category_id; + $category = Category::find($request->category_id); + Excel::import(new AlternativeInvestmentFundImport($category_type), $request->file('productFile')); + // return back()->with('success', "$category->category_name Imported Successfully."); + return back()->with('success', "$category->category_name Imported Successfully."); + } + + /** + * Display the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function show($id) + { + $alternativeInvestmentFund = Product::with('category', 'alternativeInvestmentFund','product_images')->alternativeInvestmentFund()->find($id); + // dd(Product::find($id)); + // dd($alternativeInvestmentFund); + return view('Admin.Pages.manage_freeu_investment.view-product.alternative-investment-fund', compact('alternativeInvestmentFund')); + } + + /** + * Show the form for editing the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function edit($id) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param int $id + * @return \Illuminate\Http\Response + */ + public function update(Request $request, $id) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function destroy($id) + { + // + } +} diff --git a/app/Http/Controllers/Admin/ManageFreeUInvestments/PrivateCreditFundController.php b/app/Http/Controllers/Admin/ManageFreeUInvestments/PrivateCreditFundController.php new file mode 100644 index 0000000..1c85281 --- /dev/null +++ b/app/Http/Controllers/Admin/ManageFreeUInvestments/PrivateCreditFundController.php @@ -0,0 +1,95 @@ +category_name; + $category_id = $category->id; + $excelFileName = 'PrivateCreditTemplate.xlsx'; + return view('Admin.Pages.manage_freeu_investment.upload-product.alternative-investment-fund', compact('text', 'category_id','excelFileName')); + } + + /** + * Store a newly created resource in storage. + * + * @param \Illuminate\Http\Request $request + * @return \Illuminate\Http\Response + */ + public function store(Request $request) + { + // + } + + /** + * Display the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function show($id) + { + // + } + + /** + * Show the form for editing the specified resource. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function edit($id) + { + // + } + + /** + * Update the specified resource in storage. + * + * @param \Illuminate\Http\Request $request + * @param int $id + * @return \Illuminate\Http\Response + */ + public function update(Request $request, $id) + { + // + } + + /** + * Remove the specified resource from storage. + * + * @param int $id + * @return \Illuminate\Http\Response + */ + public function destroy($id) + { + // + } +} diff --git a/app/Http/Controllers/Frontend/HomeController.php b/app/Http/Controllers/Frontend/HomeController.php index d650627..2cfd916 100644 --- a/app/Http/Controllers/Frontend/HomeController.php +++ b/app/Http/Controllers/Frontend/HomeController.php @@ -22,6 +22,7 @@ use App\Models\VentureDebt; use App\Http\Controllers\Controller; use App\Notifications\UserAdmin; use Illuminate\Support\Facades\Validator; +use Session; class HomeController extends Controller { @@ -33,6 +34,18 @@ class HomeController extends Controller ]); } + public function checkRiskDisclosure(Request $request) + { + // dd($request->all()); + session()->forget('risk_disclosure'); + $checkRiskDisclosure = $request->checked_risk_disclosure == 'true' ? Session::put('risk_disclosure', 'true') : Session::put('risk_disclosure', 'false'); + // dd(Session::get('risk_disclosure')); + if(Session::get('risk_disclosure') == 'true') + { + return response()->json(['status'=>200]); + } + } + public function getAllTopPickProducts() { $data['data'] = Product::getAllDetails()->where('top_pick', true)->get(); diff --git a/app/Http/Controllers/GlobalPrivateCreditController.php b/app/Http/Controllers/GlobalPrivateCreditController.php index e8a884e..eb06846 100644 --- a/app/Http/Controllers/GlobalPrivateCreditController.php +++ b/app/Http/Controllers/GlobalPrivateCreditController.php @@ -4,6 +4,7 @@ namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Admin\ManageFreeUInvestments\FractionalRealEstateController as FractionalRealEstateFrontendController; +use App\Models\Product; class GlobalPrivateCreditController extends Controller { @@ -12,8 +13,8 @@ class GlobalPrivateCreditController extends Controller $learnMore = (new FractionalRealEstateFrontendController)->globalPCFQuestionAndAnswer()->getData(); return view('Frontend.Pages.dummy.global-private-credit',[ 'learnMore'=>$learnMore, - // 'openGPCF'=>$learnMore, - // 'resaleGPCF'=>$learnMore, + 'openGPCF'=> Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies','categorys')->globalPrivateCreditFund()->open()->active()->latest()->get(), + 'resaleGPCF'=> Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies','categorys')->globalPrivateCreditFund()->resale()->active()->latest()->get(), ]); } } diff --git a/app/Http/Controllers/LongOnlyEquityFundController.php b/app/Http/Controllers/LongOnlyEquityFundController.php new file mode 100644 index 0000000..b047cdd --- /dev/null +++ b/app/Http/Controllers/LongOnlyEquityFundController.php @@ -0,0 +1,84 @@ +toArray(), $this->rules(), $this->customValidationMessages($rows))->validate(); - + // dd($rows); foreach ($rows as $row) { $product = Product::create([ 'tables_id' => Table::AlternativeInvestmentFundTable, @@ -62,7 +62,7 @@ class AlternativeInvestmentFundImport implements ToCollection, WithHeadingRow 'created_by' => auth()->user()->id ]); - + AlternativeInvestmentFund::create([ 'products_id' => $product->id, 'slug' => Str::slug($row['name_of_the_fund']), diff --git a/app/Models/Category.php b/app/Models/Category.php index be0f289..ce5a9c5 100644 --- a/app/Models/Category.php +++ b/app/Models/Category.php @@ -92,7 +92,7 @@ class Category extends Model const PrivateCreditFundId = 41; - // const LongOnlyFundId= 40; // id of row + const GlobalPrivateCreditFundId= 43; public function scopeActive($query) { diff --git a/app/Models/Product.php b/app/Models/Product.php index 3513a36..6251085 100644 --- a/app/Models/Product.php +++ b/app/Models/Product.php @@ -185,6 +185,11 @@ class Product extends Model return $query->where(['tables_id' => 12, 'categories_id' => 40]); } + public function scopeGlobalPrivateCreditFund($query) + { + return $query->where('categories_id', 43); + } + public function scopeInfrastructureFund($query) { return $query->where(['tables_id' => 12, 'categories_id' => 29]); diff --git a/app/View/Components/GlobalPrivateCreditFundProduct.php b/app/View/Components/GlobalPrivateCreditFundProduct.php new file mode 100644 index 0000000..1a6d944 --- /dev/null +++ b/app/View/Components/GlobalPrivateCreditFundProduct.php @@ -0,0 +1,31 @@ +gpcfAllData = $gpcfData; + $this->type = $type; + } + + /** + * Get the view / contents that represent the component. + * + * @return \Illuminate\Contracts\View\View|\Closure|string + */ + public function render() + { + return view('components.global-private-credit-fund-product'); + } +} diff --git a/app/helper.php b/app/helper.php index f7fc4b0..f5f952c 100644 --- a/app/helper.php +++ b/app/helper.php @@ -107,8 +107,10 @@ function routeForHandpickedInvestment($categoryId) Category::PrivateEquityFundId => 'alternative-investment-fund.private-equity-fund-product', Category::GlobalPrivateEquityFundId => 'alternative-investment-fund.private-equity-fund-product', Category::PrivateCreditFundId => 'alternative-investment-fund.private-credit-fund-product', + Category::GlobalPrivateCreditFundId => 'alternative-investment-fund.private-credit-fund-product', Category::PrivateRealEstateFundId => 'alternative-investment-fund.private-real-estate-fund-product', Category::HedgeFundId => 'alternative-investment-fund.hedge-fund-product', + Category::LongOnlyFundId => 'alternative-investment-fund.hedge-fund-product', Category::PrivateInvestmentInPublicEquityFundId => 'alternative-investment-fund.private-investment-public-equity-product', Category::SovereignGovernmentBondId => 'bonds.product', Category::GlobalMutualFundId => 'mutual-funds.product', @@ -335,14 +337,14 @@ function getCategoryIcons($categoryId) "public/assets/media/FrontendImages/private.svg" => Category::PrivateRealEstateFundId, "public/assets/media/FrontendImages/bay-arrow.svg" => Category::LongOnlyFundId, "public/assets/media/FrontendImages/Infr-funds.svg" => Category::InfrastructureFundId, - // "public/assets/media/FrontendImages/cradit-funds.svg" => Category::PrivateCreditFundId, - "public/assets/media/FrontendImages/cradit-funds.svg" => 40, + "public/assets/media/FrontendImages/cradit-funds.svg" => Category::PrivateCreditFundId, + // "public/assets/media/FrontendImages/cradit-funds.svg" => 40, "public/assets/media/FrontendImages/equity-funds.svg" => Category::PrivateEquityFundId, "public/assets/media/FrontendImages/angel-funds.svg" => Category::AngelFundId, "public/assets/media/FrontendImages/stra-fund.svg" => Category::HedgeFundId, "public/assets/media/FrontendImages/pipe-funds.svg" => Category::PrivateInvestmentInPublicEquityFundId, "public/assets/media/FrontendImages/stra-fund.svg" => Category::GlobalHedgeFundId, //global product icons start from here - // "public/assets/media/FrontendImages/cradit-funds.svg" => Category::GlobalPrivateCreditFundId, + "public/assets/media/FrontendImages/cradit-funds.svg" => Category::GlobalPrivateCreditFundId, "public/assets/media/FrontendImages/equity-funds.svg" => Category::GlobalPrivateEquityFundId, "public/assets/media/FrontendImages/capital-funds.svg" => Category::GlobalVentureCapitalFundId, "public/assets/media/FrontendImages/login-img/alternative.svg" => Category::IndianIndustrialRealEstateID, // indain real estate start from here diff --git a/public/excel-template/InternationalPrivateEquityFundTemplate.xlsx b/public/excel-template/InternationalPrivateEquityFundTemplate.xlsx deleted file mode 100644 index 275def0..0000000 Binary files a/public/excel-template/InternationalPrivateEquityFundTemplate.xlsx and /dev/null differ diff --git a/public/excel-template/LongOnlyFundsTemplate.xlsx b/public/excel-template/LongOnlyFundsTemplate.xlsx new file mode 100644 index 0000000..26bfd4b Binary files /dev/null and b/public/excel-template/LongOnlyFundsTemplate.xlsx differ diff --git a/public/excel-template/PrivateCreditTemplate.xlsx b/public/excel-template/PrivateCreditTemplate.xlsx new file mode 100644 index 0000000..9af867d Binary files /dev/null and b/public/excel-template/PrivateCreditTemplate.xlsx differ diff --git a/resources/views/Admin/Pages/manage_freeu_investment/manage_freeu_investment.blade.php b/resources/views/Admin/Pages/manage_freeu_investment/manage_freeu_investment.blade.php index 829ec65..073ab31 100644 --- a/resources/views/Admin/Pages/manage_freeu_investment/manage_freeu_investment.blade.php +++ b/resources/views/Admin/Pages/manage_freeu_investment/manage_freeu_investment.blade.php @@ -77,8 +77,8 @@
@@ -130,6 +132,9 @@
@endif
- {{ $data->alternative_investment_fund->fund_name }}
Category: {{ $data->categorys->category_name }}
diff --git a/routes/web.php b/routes/web.php index f2ee8b9..abd1945 100644 --- a/routes/web.php +++ b/routes/web.php @@ -83,6 +83,8 @@ use App\Http\Controllers\Admin\ManageFreeUInvestments\DebtFundController; use App\Http\Controllers\Admin\ManageFreeUInvestments\HedgeFundController; use App\Http\Controllers\Admin\ManageFreeUInvestments\InfrastructureFundController; use App\Http\Controllers\Admin\ManageFreeUInvestments\PrivateEquityFundController; +use App\Http\Controllers\Admin\ManageFreeUInvestments\PrivateCreditFundController; +use App\Http\Controllers\Admin\ManageFreeUInvestments\LongOnlyEquityFundController; use App\Http\Controllers\Admin\ManageFreeUInvestments\PrivateInvestmentInPublicEquityFundController; use App\Http\Controllers\Admin\ManageFreeUInvestments\PrivateRealEstateFundController; use App\Http\Controllers\Admin\ManageFreeUInvestments\VentureCapitalFundController; @@ -115,6 +117,7 @@ use App\Http\Controllers\Frontend\GlobalRealAssetController; //admin update profile controller use App\Http\Controllers\Admin\AdminProfileController; use App\Http\Controllers\GlobalPrivateCreditController; +use App\View\Components\LongOnlyEquityFunds; use Illuminate\Support\Facades\Request; /* @@ -127,6 +130,7 @@ use Illuminate\Support\Facades\Request; | contains the "web" middleware group. Now create something great! | */ + Route::delete('delete_fractional_image', [FractionalRealEstateController::class, 'delete_fractional_image'])->name('delete_fractional_image'); Route::delete('delete_image_capital_fund', [VentureCapitalFundController::class, 'delete_image_capital_fund'])->name('delete_image_capital_fund'); @@ -616,11 +620,11 @@ Route::middleware([BackendAccess::class])->group(function () { Route::post('update-status-alternative', 'updateStatusAlternative')->name('update-status-alternative'); Route::post("monthly-updates-change-holding-status", 'monthlyUpdateChangeHoldingStatus')->name('monthly-updates-change-holding-status'); Route::post("monthly-updates-change-status", 'monthlyUpdateChangeStatus')->name('monthly-updates-change-status'); - Route::post("redeem-with-sold-amount",'redeemWithSoldAmount')->name('redeem-with-sold-amount'); + Route::post("redeem-with-sold-amount", 'redeemWithSoldAmount')->name('redeem-with-sold-amount'); }); - + //Manage FreeU Investments - + Route::prefix('manage-investments')->group(function () { Route::controller(ManageFreeUInvestmentController::class)->as('manage.')->group(function () { @@ -630,7 +634,7 @@ Route::middleware([BackendAccess::class])->group(function () { Route::get("/fractional-real-estate/upload", 'addProduct')->name('addproduct'); Route::post("/product/post", 'uploadFile')->name('postproduct'); Route::delete("/product/delete", 'productDelete')->name('product-delete'); - + //Bonds Route::prefix('bonds/upload/')->group(function () { @@ -647,6 +651,7 @@ Route::middleware([BackendAccess::class])->group(function () { Route::get("3", 'uploadFunds')->name('uploadPrivateEquityFunds'); Route::get("4", 'uploadFunds')->name('uploadVentureDebtFunds'); Route::get("5", 'uploadFunds')->name('uploadHedgeFunds'); + Route::get("6", 'uploadFunds')->name('uploadPrivateCreditFunds'); }); Route::post("/funds/post", 'uploadFundFile')->name('postfunds'); @@ -676,7 +681,7 @@ Route::middleware([BackendAccess::class])->group(function () { // Route::get("/real-estate/upload/6", 'uploadRealEstate')->name('uploadGlobalIndustrialRealEstate'); Route::post("/real-estate/post", 'uploadRealEstateFile')->name('postrealestate'); - + Route::prefix('/alternative-investment-fund')->group(function () { Route::resource('venture-capital-fund', VentureCapitalFundController::class); @@ -685,10 +690,12 @@ Route::middleware([BackendAccess::class])->group(function () { Route::resource('infrastructure-fund', InfrastructureFundController::class); Route::resource('fund-for-distressed-asset', FundForDistressedAssetController::class); Route::resource('private-equity-fund', PrivateEquityFundController::class); + Route::resource('private-credit-fund', PrivateCreditFundController::class); Route::resource('debt-fund', DebtFundController::class); Route::resource('private-real-estate-fund', PrivateRealEstateFundController::class); Route::resource('hedge-fund', HedgeFundController::class); Route::resource('pipe-fund', PrivateInvestmentInPublicEquityFundController::class); + Route::resource('long-only-equity-fund', LongOnlyEquityFundController::class); Route::resources([ 'fractional-real-estate' => FractionalRealEstateImportController::class, 'peer-to-peer-lending' => PeerToPeerLendingImportController::class, @@ -843,7 +850,7 @@ Route::middleware([BackendAccess::class])->group(function () { Route::get("manage-sub-admin", 'listSubAdmin')->name('manage_sub_admin'); Route::view('add/sub-admin', 'Admin.add-sub-admin')->name('add.sub-admin'); Route::post('store/sub-admin', 'addSubAdmin')->name('store.sub-admin'); - Route::get('view/sub-admin','viewSubAdmin')->name('view.sub-admin'); + Route::get('view/sub-admin', 'viewSubAdmin')->name('view.sub-admin'); Route::get("role_list", 'addPage')->name('role_list')->name('role_list'); Route::post("view_role", 'store')->name('view_role')->name('view_role'); Route::post("status", 'status')->name('status'); @@ -936,6 +943,10 @@ Route::any('/prinicipal-groups-delete/{id}', [UserGroupController::class, 'delet //Frontend Route::get('/', [HomeController::class, 'index'])->name('index'); +Route::get('/forget-session',function(){ + Session::forget('risk_disclosure'); +}); +Route::post('/check-risk-disclosure', [HomeController::class, 'checkRiskDisclosure'])->name('check-risk-disclosure'); Route::get('/invest-now', [HomeController::class, 'investNow'])->name('investNow'); Route::post('/mark-all-notifications-as-read', [HomeController::class, 'updateAllNotification'])->name('mark-all-notifications'); @@ -974,7 +985,6 @@ Route::controller(AlternativeInvestmentFundController::class)->prefix('alternati Route::get('/category-two/private-credit-funds/{slug}', 'privateCreditFundProduct')->name('private-credit-fund-product'); Route::get('/category-three/long-only-equity-funds', 'longOnlyEquityFund')->name('long-only-equity-funds'); Route::get("/category-three/long-only-equity-funds/{slug}", 'longOnlyEquityFundProduct')->name('long-only-equity-fund-product'); - }); Route::controller(FractionalRealEstateController::class)->prefix('fractional-real-estate')->name('fractional-real-estate.')->group(function () { @@ -1158,7 +1168,7 @@ Route::view('global', 'Frontend.Pages.dummy.global')->name('global'); Route::view('global-angel-investing', 'Frontend.Pages.dummy.global-angel-investing')->name('global-angel-investing'); Route::view('global-growth-capital', 'Frontend.Pages.dummy.global-growth-capital')->name('global-growth-capital'); Route::view('global-mezzanine-financing', 'Frontend.Pages.dummy.global-mezzanine-financing')->name('global-mezzanine-financing'); -Route::get('global-private-credit',[GlobalPrivateCreditController::class,'getGlobalPrivateCreditFundPage'])->name('global-private-credit'); +Route::get('global-private-credit', [GlobalPrivateCreditController::class, 'getGlobalPrivateCreditFundPage'])->name('global-private-credit'); Route::view('global-private-equity', 'Frontend.Pages.dummy.global-private-equity')->name('global-private-equity'); // indian links Route::view('indian-angel-investing', 'Frontend.Pages.dummy.indian-angel-investing')->name('indian-angel-investing');