added company name

This commit is contained in:
Ritikesh yadav
2024-06-13 15:26:33 +05:30
parent 329dcaca2e
commit e010396968
2 changed files with 14 additions and 14 deletions

View File

@@ -177,7 +177,7 @@ class MarketPlaceController extends Controller
$ownProduct = $offering['own-product'];
$logged_in = auth()->guard('users')->check() == true ? true : false;
// dd($status);
// dd('offering',$offering['invested_data']);
// dd($offering);
$investedData = $offering['invested_data'];
@@ -207,7 +207,7 @@ class MarketPlaceController extends Controller
if (MarketplaceFractionalRealEstateSeller::where('slug', $slug)->exists()) {
// $bidFor .= 'fractional-real-estate';
$offering['type'] = 'fractional-real-estate';
$marketFRE = MarketplaceFractionalRealEstateSeller::where('slug', $slug)->first();
$marketFRE = MarketplaceFractionalRealEstateSeller::with('company')->where('slug', $slug)->first();
// if($user_id){
$offering['own-product'] = $user_id != null ? MarketplaceSellerForm::where(['id' => $marketFRE->seller_forms_id, 'users_id' => $user_id])->exists() : '';
// }

View File

@@ -7,15 +7,15 @@
<div class="tables row">
<div class="col-md-4">
<p>Property Name</p>
<span>{{$offering->property_name}}</span>
<span>{{$offering->property_name ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Property Address</p>
<span>{{$offering->property_address}}</span>
<span>{{$offering->property_address ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Property Grade</p>
<span>{{$offering->property_grade}}</span>
<span>{{$offering->property_grade ?? 'N/A'}}</span>
</div>
</div>
</div>
@@ -25,15 +25,15 @@
<div class="tables row">
<div class="col-md-4">
<p>Asset Type</p>
<span>{{$offering->asset_type}}</span>
<span>{{$offering->asset_type ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Annual Rental Yield Earned</p>
<span>{{$offering->annual_rental_yield_earned}}</span>
<span>{{$offering->annual_rental_yield_earned ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Rental Escalation</p>
<span>{{$offering->rental_escalation}}</span>
<span>{{$offering->rental_escalation ?? 'N/A'}}</span>
</div>
</div>
</div>
@@ -43,15 +43,15 @@
<div class="tables row">
<div class="col-md-4">
<p>Fractional Real Estate Platform</p>
<span>{{$offering->fractional_real_estate_platform}}</span>
<span>{{$offering->company == null ? 'N/A':$offering->company->company_name }}</span>
</div>
<div class="col-md-4">
<p>Date Of Investment</p>
<span>{{$offering->date_of_investment}}</span>
<span>{{$offering->date_of_investment ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Original Amount Invested</p>
<span>{{$offering->original_amount_invested}}</span>
<span>{{$offering->original_amount_invested ?? 'N/A'}}</span>
</div>
</div>
</div>
@@ -61,15 +61,15 @@
<div class="tables row">
<div class="col-md-4">
<p>Current Market Value Of The Property</p>
<span>{{$offering->current_market_value_of_the_property}}</span>
<span>{{$offering->current_market_value_of_the_property ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Expected Selling Price</p>
<span>{{$offering->expected_selling_price}}</span>
<span>{{$offering->expected_selling_price ?? 'N/A'}}</span>
</div>
<div class="col-md-4">
<p>Latest Valuation Date</p>
<span>{{$offering->latest_valuation_date}}</span>
<span>{{$offering->latest_valuation_date ?? 'N/A'}}</span>
</div>
</div>
</div>