Merge pull request #393 from Ritikeshyadav/megha

bugs fixing
This commit is contained in:
Ritikeshyadav
2024-07-01 13:33:17 +05:30
committed by GitHub
5 changed files with 16 additions and 14 deletions

View File

@@ -582,11 +582,11 @@ class AlternativeInvestmentFundController extends Controller
// // ->where('categories_id',26)
// ->get();
// $productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$productData = Product::with('product_images')->where('id', '=', $longOnlyEquityFund->products_id)->first();
$productData = Product::with('product_images','alternativeInvestmentFund')->where('id', $longOnlyEquityFund->products_id)->first();
$product = Product::with('product_images')->where('id', '=', $longOnlyEquityFund->products_id)->first();
// dd($otherHF);
// dd($productData,$longOnlyEquityFund);
// dd($productData);
// dd($productData,$longOnlyEquityFund,$product);
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'productData','product'));
}
public function privateCreditFund()

View File

@@ -434,15 +434,17 @@ h4.inner-title {
}
.parimay-card .card-logo img {
width: auto;
height: 112px;
max-width: fit-content;
/*object-fit: cover;*/
width: 100%;
height: 100%;
object-fit: fill;
}
.assets-card .card-logo {
text-align: center;
padding: 8px;
object-fit: cover;
text-align: center;
padding: 8px;
width: 100%;
height: 250px;
}
.parimay-card .blur-md {

View File

@@ -809,7 +809,7 @@ a.golden-btn {
padding: 20px;
vertical-align: middle;
border-radius: 10px;
height: 200px;
height: auto;
display: flex;
flex-direction: column;
justify-content: center;

View File

@@ -180,7 +180,7 @@
<span>{{ $longOnlyEquityFund->fund_structure ?? '--' }}</span>
</div>
</div> --}}
<div class="col-md-6">
<div class="col-md-12">
<p>Description</p>
<h4>{{ $productData->description ?? '--' }}</h4>
</div>
@@ -413,7 +413,7 @@
</div>
<div class="col-md-4">
<p>Return on investment (IRR/DPI)</p>
<span>{{ $longOnlyEquityFund->return_on_investment_irr_dpi_rvpi_tvpi ?? '--' }}</span>
<span>{{ $productData->alternativeInvestmentFund->return_on_investment_irr_dpi_rvpi_tvpi ?? '--' }}</span>
</div>
{{-- <div class="col-md-4">
<p>ISIN Code</p>

View File

@@ -298,14 +298,14 @@
</div>
<div class="tables row">
<div class="col-md-8">
<div class="col-md-4">
<p>Website of the fund</p>
{{-- <span>{{ $realEstate->website_of_the_fund ?? '--' }}</span> --}}
<span>
@if($realEstate->website_of_the_fund)
<a href="{{'http://'.$realEstate->website_of_the_fund}}" target=”_blank”>{{$realEstate->website_of_the_fund}}<a>
<a href="{{'http://'.$realEstate->website_of_the_fund}}" target=”_blank”>{{$realEstate->website_of_the_fund}}</a>
@else
{{'--'}}
@endif