From d1fb7a8d19669b1b15d0f3fd2b0fea039a58146e Mon Sep 17 00:00:00 2001 From: meghamalore Date: Mon, 1 Jul 2024 13:18:39 +0530 Subject: [PATCH] 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