bugs fixing in modal

This commit is contained in:
Shailesh-1981
2024-06-10 17:52:46 +05:30
parent 88e4558a59
commit 2f603a8dcb
3 changed files with 13 additions and 25 deletions

View File

@@ -194,19 +194,7 @@ class ManageUserProductController extends Controller
->join('user_kycs', 'users.id', 'user_kycs.users_id')
->where('user_kycs.status', 'Approved')
->pluck('users.name', 'users.id');
$aifProductNames = $this->getAllProductNames([
Category::VentureCapitalFundId,
Category::AngelFundId,
Category::InfrastructureFundId,
Category::FundForDistressedAssetId,
Category::PrivateCreditFundId,
Category::PrivateRealEstateFundId,
Category::PrivateEquityFundId,
Category::HedgeFundId,
Category::PrivateInvestmentInPublicEquityFundId,
Category::LongOnlyFundId,
]);
// dd($aifProductNames->toArray());
$aifProductNames = $this->getAllProductNames([Category::VentureCapitalFundId, Category::InfrastructureFundId, Category::AngelFundId, Category::PrivateEquityFundId, Category::DebtFundId, Category::PrivateRealEstateFundId, Category::PrivateInvestmentInPublicEquityFundId,Category::LongOnlyFundId,Category::PrivateCreditFundId]);
$freProductNames = $this->getAllProductNames([Category::FractionalRealEstateId]);
// $p2pProductNames = $this->getAllProductNames(Category::PeerToPeerLendingId);
// $ifaProductNames = $this->getAllProductNames(Category::InvoiceDiscountingId, Category::CleanAndGreenAssetsId, Category::VentureDebtId, Category::HighYieldFinanceId, Category::SecuritizedDebtInstrumentId, Category::LeaseBasedFinancingId, Category::RevenueBasedFinancingId);
@@ -414,7 +402,7 @@ class ManageUserProductController extends Controller
public function editProduct(Request $request)
{
dd($request->all());
// dd($request->all());
// return $request->update_id;
$update_data = MonthlyUpdateMaster::where('id', $request->eid)->update([
"users_id" => $request->euserid,