added resend otp while creating account and solving freedcamp issue

This commit is contained in:
Ritikesh yadav
2024-04-19 15:16:12 +05:30
parent 156ae18649
commit 468e936310
12 changed files with 318 additions and 47 deletions

View File

@@ -34,15 +34,19 @@ class DashboardController extends Controller
$user = $this->getUser()->data;
$currentInvestmentProduct = $this->view_investors_details('Holding');
$reedemedInvestmentProduct = $this->view_investors_details('Reedemed');
// watchlist
$aifInvestmentWatchlist = $this->aifInvestmentWatchlist()['data'];
$freInvestmentWatchlist = $this->freInvestmentWatchlist()['data'];
$opInvestmentWatchlist = $this->opInvestmentWatchlist()['data'];
// sold
$aifSoldInvestmentWatchlist = $this->aifSoldInvestmentWatchlist()['data'];
$freSoldInvestmentWatchlist = $this->freSoldInvestmentWatchlist()['data'];
$opSoldInvestmentWatchlist = $this->opSoldInvestmentWatchlist()['data'];
// bought
$aifInvestmentListed = $this->aifInvestmentListed()['data'];
$freInvestmentListed = $this->freInvestmentListed()['data'];
$opInvestmentListed = $this->opInvestmentListed()['data'];
//
$marketPlaceAIFSellerData = $this->getMarketplaceAIFSellerData();
$marketPlaceFRESellerData = $this->getMarketplaceFRESellerData();
$marketPlaceOPSellerData = $this->getMarketplaceOPSellerData();
@@ -766,8 +770,10 @@ class DashboardController extends Controller
->alernativeInvestmentFund()
->sold()
->where('listing_status', '!=', 'Hide')
// ->where('marketplace_aif_sellers.listing_status', 'Hide')
->select('name_of_the_aif_fund', 'fund_category', 'fund_strategy', 'type_of_fund', 'total_capital_commitment', 'uncalled_capital_commitment')
->get();
// dd($data);
return $data;
}
@@ -778,6 +784,7 @@ class DashboardController extends Controller
->fractionalRealEstate()
->sold()
->where('listing_status', '!=', 'Hide')
// ->where('marketplace_fre_sellers.listing_status', 'Hide')
->select('property_name', 'property_address', 'property_grade', 'asset_type', 'fractional_real_estate_platform', 'expected_selling_price')
->get();
return $data;
@@ -800,16 +807,18 @@ class DashboardController extends Controller
$data['data'] = MarketplaceSellerForm::query()
->where('marketplace_seller_forms.users_id', auth()->guard('users')->user()->id)
->join('marketplace_aif_sellers', 'marketplace_seller_forms.id', 'marketplace_aif_sellers.seller_forms_id')
->where('marketplace_aif_sellers.listing_status', '!=', 'Hide')
->select('name_of_the_aif_fund', 'fund_category', 'fund_strategy', 'type_of_fund', 'total_capital_commitment', 'uncalled_capital_commitment')
->get();
return $data;
}
public function freInvestmentListed()
{
$data['data'] = MarketplaceSellerForm::query()
return $data;
}
public function freInvestmentListed()
{
$data['data'] = MarketplaceSellerForm::query()
->where('marketplace_seller_forms.users_id', auth()->guard('users')->user()->id)
->join('marketplace_fre_sellers', 'marketplace_seller_forms.id', 'marketplace_fre_sellers.seller_forms_id')
->where('marketplace_fre_sellers.listing_status', '!=', 'Hide')
->select('property_name', 'property_address', 'property_grade', 'asset_type', 'fractional_real_estate_platform', 'expected_selling_price')
->get();
return $data;