@@ -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)
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user