diff --git a/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php b/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php index 37a287d..0174b7e 100644 --- a/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php +++ b/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php @@ -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() diff --git a/public/assets/css/FrontendCss/style.css b/public/assets/css/FrontendCss/style.css index 3bb306c..f5e5377 100644 --- a/public/assets/css/FrontendCss/style.css +++ b/public/assets/css/FrontendCss/style.css @@ -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 { diff --git a/public/assets/css/FrontendCss/style2.css b/public/assets/css/FrontendCss/style2.css index 4feb291..771baf7 100644 --- a/public/assets/css/FrontendCss/style2.css +++ b/public/assets/css/FrontendCss/style2.css @@ -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; diff --git a/resources/views/Frontend/Pages/alternative-investment-fund/long-only-equity-fund-product.blade.php b/resources/views/Frontend/Pages/alternative-investment-fund/long-only-equity-fund-product.blade.php index 58830eb..7cd834a 100644 --- a/resources/views/Frontend/Pages/alternative-investment-fund/long-only-equity-fund-product.blade.php +++ b/resources/views/Frontend/Pages/alternative-investment-fund/long-only-equity-fund-product.blade.php @@ -180,7 +180,7 @@ {{ $longOnlyEquityFund->fund_structure ?? '--' }} --}} -
Description
Return on investment (IRR/DPI)
- {{ $longOnlyEquityFund->return_on_investment_irr_dpi_rvpi_tvpi ?? '--' }} + {{ $productData->alternativeInvestmentFund->return_on_investment_irr_dpi_rvpi_tvpi ?? '--' }}ISIN Code
diff --git a/resources/views/Frontend/Pages/alternative-investment-fund/private-real-estate-fund-product.blade.php b/resources/views/Frontend/Pages/alternative-investment-fund/private-real-estate-fund-product.blade.php index 98ee669..2e7118b 100644 --- a/resources/views/Frontend/Pages/alternative-investment-fund/private-real-estate-fund-product.blade.php +++ b/resources/views/Frontend/Pages/alternative-investment-fund/private-real-estate-fund-product.blade.php @@ -298,14 +298,14 @@Website of the fund
{{-- {{ $realEstate->website_of_the_fund ?? '--' }} --}} @if($realEstate->website_of_the_fund) - {{$realEstate->website_of_the_fund}} + {{$realEstate->website_of_the_fund}} @else {{'--'}} @endif