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() : '';
// }