21 lines
948 B
PHP
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(),
|
|
]);
|
|
}
|
|
}
|