Merge branch 'main' of https://github.com/Ritikeshyadav/my-freeu into megha
This commit is contained in:
@@ -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"]);
|
||||
|
||||
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user