diff --git a/app/Http/Resources/FractionalRealEstateResource.php b/app/Http/Resources/FractionalRealEstateResource.php index 24f5013..9c9dc63 100644 --- a/app/Http/Resources/FractionalRealEstateResource.php +++ b/app/Http/Resources/FractionalRealEstateResource.php @@ -18,8 +18,8 @@ class FractionalRealEstateResource extends JsonResource return [ 'id' => $this->id, 'products_id' => $this->products_id, - 'presentation' => Product::find($this->products_id)->value('presentation'), - 'fact_sheet' => Product::find($this->products_id)->value('fact_sheet'), + 'presentation' => Product::find($this->products_id) == null ? '' : Product::find($this->products_id)->value('presentation'), + 'fact_sheet' => Product::find($this->products_id) == null ? '' : Product::find($this->products_id)->value('fact_sheet'), 'companies_id' => $this->companies_id, 'slug' => $this->slug, 'property_name_and_location' => $this->property_name_and_location, diff --git a/public/assets/uploads/fractionalrealestate_images/202404101147_contact.png b/public/assets/uploads/fractionalrealestate_images/202404101147_contact.png new file mode 100644 index 0000000..9a4bd73 Binary files /dev/null and b/public/assets/uploads/fractionalrealestate_images/202404101147_contact.png differ diff --git a/public/assets/uploads/fractionalrealestate_images/202404101147_faq.png b/public/assets/uploads/fractionalrealestate_images/202404101147_faq.png new file mode 100644 index 0000000..c0a4d34 Binary files /dev/null and b/public/assets/uploads/fractionalrealestate_images/202404101147_faq.png differ diff --git a/public/assets/uploads/fractionalrealestate_images/202404101147_privacy-policy.png b/public/assets/uploads/fractionalrealestate_images/202404101147_privacy-policy.png new file mode 100644 index 0000000..90d39eb Binary files /dev/null and b/public/assets/uploads/fractionalrealestate_images/202404101147_privacy-policy.png differ diff --git a/resources/views/Frontend/Pages/fractional-real-estate/product.blade.php b/resources/views/Frontend/Pages/fractional-real-estate/product.blade.php index d51326f..700ff02 100644 --- a/resources/views/Frontend/Pages/fractional-real-estate/product.blade.php +++ b/resources/views/Frontend/Pages/fractional-real-estate/product.blade.php @@ -1,5 +1,58 @@ @extends('Frontend.layouts.master') @section('content') +
@@ -55,6 +108,29 @@
+ +
diff --git a/resources/views/Frontend/Pages/marketplace/index.blade.php b/resources/views/Frontend/Pages/marketplace/index.blade.php index fecf553..306defd 100644 --- a/resources/views/Frontend/Pages/marketplace/index.blade.php +++ b/resources/views/Frontend/Pages/marketplace/index.blade.php @@ -168,7 +168,7 @@ @php($style = '') @endif {{ $data->discount }}% + style="{{ $style }}">{{ number_format((float)$data->discount, 2, '.', '') }}% @if ($data->bid > 0) @@ -181,7 +181,7 @@ @php($style = '') @endif {{ $data->bid }}% + style="{{ $style }}">{{ number_format((float)$data->bid, 2, '.', '') }}% {{ $data->discount }}% + style="{{ $style }}">{{ number_format((float)$data->discount, 2, '.', '') }}% @if ($data->bid > 0) @@ -260,7 +260,7 @@ @php($style = '') @endif {{ $data->bid }}% + style="{{ $style }}">{{ number_format((float)$data->bid, 2, '.', '') }}% {{ $data->discount }}% + style="{{ $style }}">{{ number_format((float)$data->discount, 2, '.', '') }}% @if ($data->bid > 0) @@ -332,7 +332,7 @@ @php($style = '') @endif {{ $data->bid }}% + style="{{ $style }}">{{ number_format((float)$data->bid, 2, '.', '') }}% {{ $data->discount }}% + style="{{ $style }}">{{ number_format((float) $data->discount, 2, '.', '') }}% @if ($data->bid > 0) @@ -467,7 +467,7 @@ @php($style = '') @endif {{ $data->bid }}% + style="{{ $style }}">{{ number_format((float)$data->bid, 2, '.', '') }}% {{ $data->discount }}% + style="{{ $style }}">{{ number_format((float) $data->discount, 2, '.', '') }}% @if ($data->bid > 0) @@ -538,7 +538,7 @@ @php($style = '') @endif {{ $data->bid }}% + style="{{ $style }}">{{ number_format((float) $data->bid, 2, '.', '') }}% {{ $data->discount }}% + style="{{ $style }}">{{ number_format((float) $data->discount, 2, '.', '') }}% @if ($data->bid > 0) @@ -610,7 +610,7 @@ @php($style = '') @endif {{ $data->bid }}% + style="{{ $style }}">{{ number_format((float) $data->bid, 2, '.', '') }}% + +
--> diff --git a/resources/views/Frontend/Pages/marketplace/view-offering.blade.php b/resources/views/Frontend/Pages/marketplace/view-offering.blade.php index 9bbff8f..e469d39 100644 --- a/resources/views/Frontend/Pages/marketplace/view-offering.blade.php +++ b/resources/views/Frontend/Pages/marketplace/view-offering.blade.php @@ -8,7 +8,9 @@ {{-- @dd($offering->sold_status) --}} {{-- @dd($investedData) --}} - @if ($investedData && $investedData->status != 'Sold') + @if ( + ($investedData && $investedData->status != 'Sold') || + ($investedData != null ? $investedData->status == 'OPEN' : true)) @if ($logged_in) @if (!$ownProduct) @if (!$invested) @@ -20,30 +22,35 @@ id="" data-product-id="{{ $offering->products_id }}" data-bs-target="#recipes-pop-four">Added To Investment Watchlist! --}} - slug) }}" class="yellow-btn grow_skew_forward" + id="" data-product-id="{{ $offering->products_id }}" + data-bs-target="#recipes-pop-four" + style=" padding: 10px; height: 34px; - ">Edit Your Bid + ">Edit + Your Bid @endif @endif @else @endif + {{ $totalInterestedBuyers }} + @else + {{-- @if ($investedData && $investedData->status == 'OPEN') --}} +

"We're pleased to announce the successful sale of this product and therefore this opportunity is no + longer available in our secondary offerings."

@endif - {{ $totalInterestedBuyers }} {{-- Show Interest --}} - {{-- @if ($offering->sold_status == 'OPEN') --}} - + {{-- @if ($offering->sold_status == 'OPEN') --}} + + - {{-- Edit Your Bid --}} - {{-- @endif --}} + {{-- @endif --}}
diff --git a/resources/views/Frontend/footer.blade.php b/resources/views/Frontend/footer.blade.php index a0011a7..af6fa9e 100644 --- a/resources/views/Frontend/footer.blade.php +++ b/resources/views/Frontend/footer.blade.php @@ -134,10 +134,10 @@ required>
-