diff --git a/app/Http/Controllers/Admin/ManageFreeUInvestments/VentureCapitalFundController.php b/app/Http/Controllers/Admin/ManageFreeUInvestments/VentureCapitalFundController.php index b6a3c53..2ca8a30 100644 --- a/app/Http/Controllers/Admin/ManageFreeUInvestments/VentureCapitalFundController.php +++ b/app/Http/Controllers/Admin/ManageFreeUInvestments/VentureCapitalFundController.php @@ -67,7 +67,7 @@ class VentureCapitalFundController extends Controller */ public function show($id) { - $alternativeInvestmentFund = Product::with('category', 'alternativeInvestmentFund')->alternativeInvestmentFund()->find($id); + $alternativeInvestmentFund = Product::with('category', 'alternativeInvestmentFund','product_images')->alternativeInvestmentFund()->find($id); // dd(Product::find($id)); // dd($alternativeInvestmentFund); return view('Admin.Pages.manage_freeu_investment.view-product.alternative-investment-fund', compact('alternativeInvestmentFund')); diff --git a/resources/views/Admin/Pages/manage_freeu_investment/view-product/alternative-investment-fund.blade.php b/resources/views/Admin/Pages/manage_freeu_investment/view-product/alternative-investment-fund.blade.php index 0b085b4..c802209 100644 --- a/resources/views/Admin/Pages/manage_freeu_investment/view-product/alternative-investment-fund.blade.php +++ b/resources/views/Admin/Pages/manage_freeu_investment/view-product/alternative-investment-fund.blade.php @@ -236,6 +236,25 @@ +
+ +
+ +
+ + @if(isset($alternativeInvestmentFund['product_images']) && count($alternativeInvestmentFund['product_images']) > 0) +
+ @foreach($alternativeInvestmentFund['product_images'] as $image) +
+ Image {{ $image['id'] }} + +
+ @endforeach +
+ @endif +
+ {{--