bugs fixes
This commit is contained in:
@@ -167,9 +167,10 @@ class AlternativeInvestmentFundController extends Controller
|
||||
// dd($otherVCP);
|
||||
$productData = AlternativeInvestmentFund::where('slug', $slug)->first();
|
||||
// dd($productData,$slug,$ventureCapitalFund);
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($ventureCapitalFund, $otherVCP, $productData);
|
||||
return view('Frontend.Pages.alternative-investment-fund.venture-capital-fund-product', compact('ventureCapitalFund', 'otherVCP', 'productData'));
|
||||
// dd($ventureCapitalFund, $otherVCP, $productData,$product);
|
||||
return view('Frontend.Pages.alternative-investment-fund.venture-capital-fund-product', compact('ventureCapitalFund', 'otherVCP', 'productData','product'));
|
||||
}
|
||||
|
||||
public function infrastructureFundProduct($slug)
|
||||
@@ -183,7 +184,7 @@ class AlternativeInvestmentFundController extends Controller
|
||||
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($infrastructureFund);
|
||||
// dd($infrastructureFund,$productData,$product);
|
||||
return view('Frontend.Pages.alternative-investment-fund.infrastructure-fund-product', compact('infrastructureFund', 'otherIF', 'productData', 'product'));
|
||||
}
|
||||
|
||||
@@ -211,9 +212,12 @@ class AlternativeInvestmentFundController extends Controller
|
||||
->where(['products.status' => true, 'categories_id' => 31])
|
||||
->where('slug', '!=', $slug)
|
||||
->get();
|
||||
$product = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$productData = Product::with('product_images')->where('id', '=', $product->products_id)->first();
|
||||
// dd($privateEquityFund,$productData,$product);
|
||||
$product_slug = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
|
||||
$product = Product::with('product_images')->where('id', '=', $product_slug->products_id)->first();
|
||||
|
||||
$productData = Product::with('product_images')->where('id', '=', $product_slug->products_id)->first();
|
||||
// dd($privateEquityFund,$productData,$product_slug,$product);
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-equity-fund-product', compact('privateEquityFund', 'otherPEF', 'product', 'productData'));
|
||||
}
|
||||
|
||||
@@ -579,9 +583,11 @@ class AlternativeInvestmentFundController extends Controller
|
||||
// ->get();
|
||||
// $productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$productData = Product::with('product_images')->where('id', '=', $longOnlyEquityFund->products_id)->first();
|
||||
$product = Product::with('product_images')->where('id', '=', $longOnlyEquityFund->products_id)->first();
|
||||
|
||||
// dd($otherHF);
|
||||
// dd($productData,$longOnlyEquityFund);
|
||||
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'productData'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'productData','product'));
|
||||
}
|
||||
public function privateCreditFund()
|
||||
{
|
||||
@@ -615,8 +621,9 @@ class AlternativeInvestmentFundController extends Controller
|
||||
->where('slug', '!=', $slug)
|
||||
->get();
|
||||
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
|
||||
$product = product::with('alternativeInvestmentFund')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($product,$productData,$privateCreditFund);
|
||||
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
|
||||
// dd($privateCreditFund);
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-credit-fund-product', compact('privateCreditFund', 'otherPEF', 'productData'));
|
||||
return view('Frontend.Pages.alternative-investment-fund.private-credit-fund-product', compact('privateCreditFund', 'otherPEF', 'productData','product'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user