Merge branch 'main' of https://github.com/Ritikeshyadav/my-freeu into RitikeshFreeu

This commit is contained in:
Ritikesh yadav
2024-06-06 17:41:29 +05:30
7 changed files with 103 additions and 38 deletions

View File

@@ -166,6 +166,7 @@ class AlternativeInvestmentFundController extends Controller
$productData = AlternativeInvestmentFund::where('slug',$slug)->first();
// dd($productData,$slug,$ventureCapitalFund);
$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'));
}
@@ -194,7 +195,7 @@ class AlternativeInvestmentFundController extends Controller
->get();
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($otherAF);
// dd($product);
return view('Frontend.Pages.alternative-investment-fund.angel-fund-product', compact('angelFund', 'otherAF', 'productData','product'));
}

View File

@@ -524,7 +524,7 @@ class ProfileController extends Controller
<strong>" . $data->created_at->diffForHumans() . "</strong>
</p>
</a>
</li>";
</li>";
}
if ($notificationHTML) {
return response()->json(['status' => 200, 'data' => $notificationHTML, 'count'=>Auth::guard('users')->user()->unreadNotifications->count()]);