This commit is contained in:
meghamalore
2024-07-02 10:48:43 +05:30
2 changed files with 3 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ use Illuminate\Support\Str;
use App\Models\AlternativeInvestmentFund;
use App\Models\Product;
use App\Models\Company;
use App\Models\MonthlyUpdateMaster;
use App\Models\ProductImage;
use Illuminate\Support\Facades\Validator;
@@ -242,6 +243,7 @@ class VentureCapitalFundController extends Controller
// }
$aif = AlternativeInvestmentFund::find($request->id);
MonthlyUpdateMaster::where('products_id',$aif->products_id)->update(['investment_platform'=>$request->companies_id]);
$type = Product::where('id',$aif->products_id)->update(['type' => $request->type,'description'=> $request->description]);
return response()->json(['status' => 200, 'message' => "$request->category Details Updated Successfully"]);

View File

@@ -39,6 +39,7 @@ class DashboardController extends Controller
$currentInvestmentProduct = $this->view_investors_details('Holding');
// dd($currentInvestmentProduct);
$reedemedInvestmentProduct = $this->view_investors_details('Reedemed');
// dd($reedemedInvestmentProduct);
// investment on watchlist
$aifInvestmentWatchlist = $this->aifInvestmentWatchlist()['data'];