added company name
This commit is contained in:
@@ -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() : '';
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user