Files
freeu-project/app/Http/Controllers/GlobalPrivateCreditController.php
Ritikesh yadav 29d23ba647 fix changes
2024-04-05 19:30:15 +05:30

21 lines
948 B
PHP

<?php
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
{
public function getGlobalPrivateCreditFundPage()
{
$learnMore = (new FractionalRealEstateFrontendController)->globalPCFQuestionAndAnswer()->getData();
return view('Frontend.Pages.dummy.global-private-credit',[
'learnMore'=>$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(),
]);
}
}