bugs solving

This commit is contained in:
cj201199
2024-05-15 15:12:37 +05:30
parent e5ca063ded
commit 59dba95f82
4 changed files with 7 additions and 7 deletions

View File

@@ -16,9 +16,9 @@ class GlobalPrivateCreditController extends Controller
$learnMore = (new FractionalRealEstateFrontendController)->globalPCFQuestionAndAnswer()->getData();
return view('Frontend.Pages.dummy.global-private-credit', [
'learnMore' => $learnMore,
'openGPCF' => Product::has('funds')->with('funds')->funds()->globalPrivateCreditFund()->open()->active()->latest()->get(),
'openGPCF' => Product::has('funds')->with('funds','categorys')->funds()->globalPrivateCreditFund()->open()->active()->latest()->get(),
// 'resaleGPCF' => Product::has('alternativeInvestmentFund')->with('alternativeInvestmentFund.companies', 'categorys')->globalPrivateCreditFund()->resale()->active()->latest()->get(),
'resaleGPCF' => Product::has('funds')->with('funds')->funds()->globalPrivateCreditFund()->fullyFunded()->active()->latest()->get(),
'resaleGPCF' => Product::has('funds')->with('funds','categorys')->funds()->globalPrivateCreditFund()->fullyFunded()->active()->latest()->get(),
]);
}

View File

@@ -184,7 +184,7 @@
</div>
<x-learn-more :learnMore="$learnMore" />
<div id="open_investments"></div>
<x-global-industrial-real-estate-product :gireData="$openGCRE" id="open_investments" :type="$type='Primary Offerings'" />
<x-global-industrial-real-estate-product :gireData="$fullyFundedGCRE" id="resale" :type="$type='Secondary Offerings'" />
<x-global-industrial-real-estate-product :gireData="$openGIRE" id="open_investments" :type="$type='Primary Offerings'" />
<x-global-industrial-real-estate-product :gireData="$fullyFundedGIRE" id="resale" :type="$type='Secondary Offerings'" />
</div>
@endsection

View File

@@ -1,8 +1,8 @@
<div class="investment" id="open_investments">
<div class="container">
<h2>{{ $type }}</h2>
@if (count($gpcfAllData))
{{-- @dd($gpcfAllData[0]) --}}
@if (count($gpcfAllData) && $gpcfAllData[0]->categorys->status == 1)
{{-- @dd($gpcfAllData[0]->categorys->status == 1) --}}
<div class="parimay-card mt-4 mb-4">
@foreach ($gpcfAllData as $data)
{{-- @dd($data) --}}

View File

@@ -1,7 +1,7 @@
<div class="investment">
<div class="container">
<h2>{{ $type }}</h2>
@if(count($gpefAllData))
@if(count($gpefAllData) && $gpefAllData[0]->categorys->status == 1)
<div class="parimay-card mt-4 mb-4">
@foreach ($gpefAllData as $gireData)
<div class="assets-card aos-init aos-animate" data-aos="fade-up">