From d1fb7a8d19669b1b15d0f3fd2b0fea039a58146e Mon Sep 17 00:00:00 2001 From: meghamalore Date: Mon, 1 Jul 2024 13:18:39 +0530 Subject: [PATCH 1/2] bugs fixing --- .../Frontend/AlternativeInvestmentFundController.php | 6 +++--- public/assets/css/FrontendCss/style2.css | 2 +- .../long-only-equity-fund-product.blade.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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/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..d096d43 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 @@ -413,7 +413,7 @@

Return on investment (IRR/DPI)

- {{ $longOnlyEquityFund->return_on_investment_irr_dpi_rvpi_tvpi ?? '--' }} + {{ $productData->alternativeInvestmentFund->return_on_investment_irr_dpi_rvpi_tvpi ?? '--' }}
{{--

ISIN Code

From 3b4dc6c38e91333afd784c4bc95c9fffafb71db8 Mon Sep 17 00:00:00 2001 From: meghamalore Date: Mon, 1 Jul 2024 13:32:38 +0530 Subject: [PATCH 2/2] bugs fixing --- public/assets/css/FrontendCss/style.css | 14 ++++++++------ .../long-only-equity-fund-product.blade.php | 2 +- .../private-real-estate-fund-product.blade.php | 4 ++-- 3 files changed, 11 insertions(+), 9 deletions(-) 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/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 d096d43..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

{{ $productData->description ?? '--' }}

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