global product name not visible issue and asset manager name contain number issue fix
This commit is contained in:
@@ -43,7 +43,7 @@ class ManageFreeUInvestmentController extends Controller
|
||||
public function index()
|
||||
{
|
||||
$products = Product::query()
|
||||
->select(DB::raw('products.id, coalesce(sdi.product_name, p2p.scheme, fre.property_name_and_location,id.company_name,aif.fund_name,caga.project_name,hyf.security_name,lbf.company,sdi.product_name,vd.company_name) as product_name'), DB::raw('DATE_FORMAT(products.created_at, "%d-%b-%Y") as date'), 'categories.category_name', DB::raw('coalesce(sdi.minimum_investment, p2p.minimum_investment, fre.minimum_investment,id.minimum_investment,aif.minimum_investment,caga.minimum_investment,hyf.minimum_investment,lbf.minimum_investment,sdi.minimum_investment,vd.minimum_investment) as minimum_investment'), 'products.commission_type', 'products.rate', 'products.commission', 'products.description', 'products.top_pick', 'products.tables_id', 'products.status')
|
||||
->select(DB::raw('products.id, coalesce(sdi.product_name,re.property_name,funds.fund_name , p2p.scheme, fre.property_name_and_location,id.company_name,aif.fund_name,caga.project_name,hyf.security_name,lbf.company,sdi.product_name,vd.company_name) as product_name'), DB::raw('DATE_FORMAT(products.created_at, "%d-%b-%Y") as date'), 'categories.category_name', DB::raw('coalesce(sdi.minimum_investment, p2p.minimum_investment, fre.minimum_investment,id.minimum_investment,aif.minimum_investment,caga.minimum_investment,hyf.minimum_investment,lbf.minimum_investment,sdi.minimum_investment,vd.minimum_investment,re.total_price,funds.minimum_investment) as minimum_investment'), 'products.commission_type', 'products.rate', 'products.commission', 'products.description', 'products.top_pick', 'products.tables_id', 'products.status')
|
||||
->leftJoin('securitized_debt_instruments as sdi', 'products.id', 'sdi.products_id')
|
||||
->leftJoin('fractional_real_estates as fre', 'products.id', 'fre.products_id')
|
||||
->leftJoin('peer_to_peer_lendings as p2p', 'products.id', 'p2p.products_id')
|
||||
@@ -53,7 +53,8 @@ class ManageFreeUInvestmentController extends Controller
|
||||
->leftJoin('high_yield_finances as hyf', 'products.id', 'hyf.products_id')
|
||||
->leftJoin('lease_based_financings as lbf', 'products.id', 'lbf.products_id')
|
||||
->leftJoin('venture_debts as vd', 'products.id', 'vd.products_id')
|
||||
// ->leftJoin('real_estates as re', 'products.id', 're.products_id')
|
||||
->leftJoin('real_estates as re', 'products.id', 're.products_id')
|
||||
->leftJoin('funds', 'products.id', 'funds.products_id')
|
||||
->join('categories', 'products.categories_id', 'categories.id')
|
||||
->latest('products.created_at')
|
||||
->get();
|
||||
|
||||
@@ -501,6 +501,11 @@ class AlternativeInvestmentFundController extends Controller
|
||||
{
|
||||
|
||||
$learnMore = (new FractionalRealEstateFrontendController)->pcfQuestionAndAnswer()->getData();
|
||||
return view('Frontend.Pages.private-credit-fund.index', ['learnMore' => $learnMore]);
|
||||
return view('Frontend.Pages.private-credit-fund.index', [
|
||||
'learnMore' => $learnMore,
|
||||
// 'openFFDA' => $this->aif->openPCF()->getData(),
|
||||
// 'fullyFundedFFDA' => $this->aif->fullyFundedFFDA()->getData(),
|
||||
// 'resaleFFDA' => $this->aif->resaleFFDA()->getData(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user