marketplace dashboard

This commit is contained in:
meghamalore
2024-05-02 14:50:31 +05:30
parent 7047e942d9
commit f681ea597e
4 changed files with 22 additions and 2 deletions

View File

@@ -819,6 +819,7 @@ class DashboardController extends Controller
->where('listing_status', '!=', 'Hide')
->select('product_category', 'security_name', 'instrument_type', 'instrument_issuer', 'credit_rating', 'expected_sale_price_per_unit')
->get();
// dd($data);
return $data;
}
@@ -828,8 +829,10 @@ class DashboardController extends Controller
->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')
// ->where('marketplace_aif_sellers.status', 'Approved')
->select('name_of_the_aif_fund', 'fund_category', 'fund_strategy', 'type_of_fund', 'total_capital_commitment', 'uncalled_capital_commitment')
->get();
// dd($data);
return $data;
}
@@ -839,6 +842,7 @@ class DashboardController extends Controller
->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')
// ->where('marketplace_fre_sellers.status', 'Approved')
->select('property_name', 'property_address', 'property_grade', 'asset_type', 'fractional_real_estate_platform', 'expected_selling_price')
->get();
return $data;