Merge pull request #395 from Ritikeshyadav/RitikeshFreeu

fixed issue
This commit is contained in:
Ritikeshyadav
2024-07-01 15:36:25 +05:30
committed by GitHub
3 changed files with 4 additions and 3 deletions

View File

@@ -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)

View File

@@ -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;
}

View File

@@ -111,7 +111,7 @@
<td>Total Fees Paid (Set Up, Management, Operating)</td>
<td>{{$data['data']['total_fees_paid']}}</td>
<td>{{$data['data']->getRawOriginal()['total_fees_paid']}}</td>
</tr>