120 lines
6.6 KiB
PHP
120 lines
6.6 KiB
PHP
@extends('Frontend.layouts.master')
|
|
@section('content')
|
|
@php($offering = $offering['data'])
|
|
<div class="product-banner">
|
|
<div class="container">
|
|
<div class="content aos-init aos-animate" data-aos="fade-right">
|
|
<h1>{{ $offering->name_of_the_aif_fund ?? ($offering->property_name ?? $offering->security_name) }}</h1>
|
|
<!--<a class="yellow-btn" data-bs-toggle="modal" id="recipes-popbtn-four" data-product-id="{{ $offering->products_id }}" >Invest</a>-->
|
|
{{-- @dd($offering->sold_status) --}}
|
|
{{-- @dd($investedData) --}}
|
|
{{-- // ($investedData && $investedData->status != 'Sold') || ($investedData != null ? $investedData->status == 'OPEN' : true)) --}}
|
|
@if ($status == 'OPEN')
|
|
|
|
|
|
@if ($logged_in)
|
|
@if (!$ownProduct)
|
|
@if (!$invested)
|
|
{{-- <a href="{{ route('buyerForm', $offering->slug) }}" class="yellow-btn grow_skew_forward" --}}
|
|
<a href="#" onclick="showDeactivatePopup('{{ route('buyerForm', $offering->slug) }}')" class="yellow-btn grow_skew_forward"
|
|
id="" data-product-id="{{ $offering->products_id }}"
|
|
data-bs-target="#recipes-pop-four">Show Interest</a>
|
|
@else
|
|
{{-- <a href="{{ route('profile_dashboard') }}" class="yellow-btn grow_skew_forward"
|
|
id="" data-product-id="{{ $offering->products_id }}"
|
|
data-bs-target="#recipes-pop-four">Added To
|
|
Investment Watchlist!</a> --}}
|
|
{{-- <a href="{{ route('editBuyerForm', $offering->slug) }}" class="yellow-btn grow_skew_forward" --}}
|
|
<a href="#" onclick="showDeactivatePopup('{{ route('editBuyerForm', $offering->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</a>
|
|
@endif
|
|
@endif
|
|
@else
|
|
<button class="yellow-btn grow_skew_forward" data-bs-toggle="modal"
|
|
data-bs-target="#exampleModalCenter">Show Interest</button>
|
|
@endif
|
|
{{ $totalInterestedBuyers }}
|
|
@else
|
|
{{-- @if ($investedData && $investedData->status == 'OPEN') --}}
|
|
<p>"We're pleased to announce the successful sale of this product and therefore this opportunity is no
|
|
longer available in our secondary offerings."</p>
|
|
@endif
|
|
|
|
{{-- <a href="{{ route('buyerForm', $offering->slug) }}" class="yellow-btn grow_skew_forward"
|
|
id="" data-product-id="{{ $offering->products_id }}"
|
|
data-bs-target="#recipes-pop-four">Show Interest</a> --}}
|
|
|
|
{{-- @if ($offering->sold_status == 'OPEN') --}}
|
|
|
|
|
|
|
|
|
|
{{-- <a href="{{ route('editBuyerForm', $offering->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</a> --}}
|
|
{{-- @endif --}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{-- login modal popup start --}}
|
|
|
|
<div class="modal fade" id="exampleModalCenter" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle"
|
|
aria-hidden="true">
|
|
<div class="modal-dialog modal-dialog-centered" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header p-2">
|
|
{{-- <h5 class="modal-title" id="exampleModalLongTitle">Modal title</h5> --}}
|
|
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
</div>
|
|
<div class="modal-body">
|
|
<h5 class="text-center">Please Login To Show Interest.</h5>
|
|
</div>
|
|
<div class="modal-footer">
|
|
{{-- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> --}}
|
|
<a href="{{ route('login') }}" class="yellow-btn grow_skew_forward">Login</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- login modal popup ends --}}
|
|
<!--<div class="product-banner venture-inner">-->
|
|
<!-- <div class="bg-img ">-->
|
|
<!-- <div class="container row">-->
|
|
<!-- <div class="col-md-6 content" data-aos="fade-right">-->
|
|
<!-- <h1>{{ $offering->name_of_the_aif_fund ?? ($offering->property_name ?? $offering->security_name) }}</h1>-->
|
|
<!-- <a href="" class="yellow-btn grow_skew_forward" id="recipes-popbtn-four" data-product-id="{{ $offering->products_id }}" data-bs-target="#recipes-pop-four">Invest Now</a> -->
|
|
<!-- @if (!$invested)
|
|
-->
|
|
<!-- <a href="{{ route('buyerForm', $offering->slug) }}" class="yellow-btn grow_skew_forward" id="" data-product-id="{{ $offering->products_id }}" data-bs-target="#recipes-pop-four">Show Interest</a>-->
|
|
<!-- @else-->
|
|
<!-- <a href="{{ route('profile_dashboard') }}" class="yellow-btn grow_skew_forward" id="" data-product-id="{{ $offering->products_id }}" data-bs-target="#recipes-pop-four">Added To Investment Watchlist!</a>-->
|
|
<!--
|
|
@endif-->
|
|
<!-- {{ $totalInterestedBuyers }}-->
|
|
<!-- </div>-->
|
|
<!-- <div class="col-md-6"></div>-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
<!--</div>-->
|
|
@if ($type == 'fractional-real-estate')
|
|
@include('Frontend.Pages.marketplace.fractional-real-estate')
|
|
@elseif($type == 'alternative-investment-funds')
|
|
@include('Frontend.Pages.marketplace.alternative-investment-fund')
|
|
@elseif($type == 'other-products')
|
|
@include('Frontend.Pages.marketplace.other-products')
|
|
@endif
|
|
@endsection
|