From 0d463aad831e5c9537fedfd8084979f8c97d2984 Mon Sep 17 00:00:00 2001 From: Ritikesh yadav Date: Mon, 1 Jul 2024 15:35:21 +0530 Subject: [PATCH] fixed issue --- .../Controllers/Frontend/FractionalRealEstateController.php | 3 ++- app/helper.php | 2 +- .../investment-details/alternative-investment-fund.blade.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Frontend/FractionalRealEstateController.php b/app/Http/Controllers/Frontend/FractionalRealEstateController.php index ff46d78..a0d269b 100644 --- a/app/Http/Controllers/Frontend/FractionalRealEstateController.php +++ b/app/Http/Controllers/Frontend/FractionalRealEstateController.php @@ -37,8 +37,9 @@ class FractionalRealEstateController extends Controller // $productData = FractionalRealEstate::where('slug', '=', $slug)->first(); // dd($productData->toArray(),$fractionalRealEstate); $productData = Product::with('product_images')->where('id', $fractionalRealEstate->products_id)->first(); + $product = (object)['presentation'=>$fractionalRealEstate->presentation,'fact_sheet'=>$fractionalRealEstate->fact_sheet]; - return view('Frontend.Pages.fractional-real-estate.product', compact('fractionalRealEstate', 'productData')); + return view('Frontend.Pages.fractional-real-estate.product', compact('fractionalRealEstate', 'productData','product')); } public function downloadFilePersantation($filename) diff --git a/app/helper.php b/app/helper.php index 19ed7eb..59a9937 100644 --- a/app/helper.php +++ b/app/helper.php @@ -70,7 +70,7 @@ function imagePath($path = null) $finalPath = "https://staging.jerichoalternatives.in/"; } if (env('APP_ENV') == 'local') { - $finalPath = "http://localhost/freeu/my-freeu/"; + $finalPath = "http://localhost/jericho_28_march/"; } return $finalPath . $path; } diff --git a/resources/views/Frontend/Pages/profile/investment-details/alternative-investment-fund.blade.php b/resources/views/Frontend/Pages/profile/investment-details/alternative-investment-fund.blade.php index 2753073..13f4548 100644 --- a/resources/views/Frontend/Pages/profile/investment-details/alternative-investment-fund.blade.php +++ b/resources/views/Frontend/Pages/profile/investment-details/alternative-investment-fund.blade.php @@ -111,7 +111,7 @@ Total Fees Paid (Set Up, Management, Operating) - {{$data['data']['total_fees_paid']}} + {{$data['data']->getRawOriginal()['total_fees_paid']}}