diff --git a/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php b/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php index f19542d..2d58dfe 100644 --- a/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php +++ b/app/Http/Controllers/Frontend/AlternativeInvestmentFundController.php @@ -156,15 +156,15 @@ class AlternativeInvestmentFundController extends Controller public function ventureCapitalFundProduct($slug) { - $ventureCapitalFund = $this->ventureCapitalData($slug)->getData()->data; + $ventureCapitalFund = $this->ventureCapitalData($slug)->getData(); $otherVCP = AlternativeInvestmentFund::query() ->join('products', 'alternative_investment_funds.products_id', 'products.id') ->where(['status' => true, 'categories_id' => 28]) ->where('slug', '!=', $slug) ->get(); - $productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first(); + $productData = AlternativeInvestmentFund::where('slug',$slug)->first(); + // dd($productData,$slug,$ventureCapitalFund); $productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first(); - // dd($ventureCapitalFund); return view('Frontend.Pages.alternative-investment-fund.venture-capital-fund-product', compact('ventureCapitalFund', 'otherVCP', 'productData')); } diff --git a/app/Http/Controllers/Frontend/HomeController.php b/app/Http/Controllers/Frontend/HomeController.php index 4abde59..62eab9a 100644 --- a/app/Http/Controllers/Frontend/HomeController.php +++ b/app/Http/Controllers/Frontend/HomeController.php @@ -50,6 +50,7 @@ class HomeController extends Controller public function getAllTopPickProducts() { $data['data'] = Product::getAllDetails()->where('top_pick', true)->get(); + // dd($data['data']); // foreach($data['data'] as $row) // { // $category = Category::where('category_name', '=', $row->category_name)->first(); diff --git a/app/Models/Product.php b/app/Models/Product.php index 1007485..8fcaadd 100644 --- a/app/Models/Product.php +++ b/app/Models/Product.php @@ -403,7 +403,10 @@ class Product extends Model { $equitiesStockExchangeRealEstateRoute = 'https://jerichoalternatives.in/api/equities-stock-real-estate-single-data/'; - $products = $query->select(\DB::raw('products.id,coalesce(fre.property_name_and_location,aif.fund_name,bd.issuer,fd.fund_name,exchange.name,re.property_name) as product_name'), 'products.categories_id as categories_id', 'categories.category_name', 'top_pick', 'fre.property_image', 'company_logo', 'file_name', \DB::raw('coalesce(fre.geographic_focus,aif.geographic_focus,bd.geographic_focus,fd.geographic_focus,exchange.geographic_focus,re.geographic_focus) as geographic_focus'), \DB::raw('coalesce(fre.minimum_investment,aif.minimum_capital_commitment,bd.minimum_investment,fd.minimum_investment,re.total_price) as minimum_investment'), \DB::raw('coalesce(fre.slug,aif.slug,bd.slug,fd.slug,re.slug,exchange.slug) as slug'), \DB::raw('coalesce(fre.property_description,aif.description,bd.about_issuer,fd.fund_description,exchange.about,re.remarks) as description')) + $products = $query->select(\DB::raw('products.id,coalesce(fre.property_name_and_location,aif.fund_name,bd.issuer,fd.fund_name,exchange.name,re.property_name) as product_name'), 'products.categories_id as categories_id', 'categories.category_name', 'top_pick', 'fre.property_image', 'company_logo', 'file_name', \DB::raw('coalesce(fre.geographic_focus,aif.geographic_focus,bd.geographic_focus,fd.geographic_focus,exchange.geographic_focus,re.geographic_focus) as geographic_focus'), \DB::raw('coalesce(fre.minimum_investment,aif.minimum_capital_commitment,bd.minimum_investment,fd.minimum_investment,re.total_price) as minimum_investment'), \DB::raw('coalesce(fre.slug,aif.slug,bd.slug,fd.slug,re.slug,exchange.slug) as slug'), + // \DB::raw('coalesce(fre.property_description,aif.description,bd.about_issuer,fd.fund_description,exchange.about,re.remarks) as description') + 'products.description' + ) ->leftJoin('fractional_real_estates as fre', 'products.id', 'fre.products_id') ->leftJoin('alternative_investment_funds as aif', 'products.id', 'aif.products_id') ->leftJoin('bonds as bd', 'products.id', 'bd.products_id') diff --git a/app/helper.php b/app/helper.php index 545afae..9db5ea3 100644 --- a/app/helper.php +++ b/app/helper.php @@ -120,7 +120,7 @@ function routeForHandpickedInvestment($categoryId) Category::CleanAndGreenAssetsId => 'clean-and-green-assets.product', Category::InvoiceDiscountingId => 'invoice-discounting.product', Category::VentureCapitalFundId => 'alternative-investment-fund.venture-capital-fund-product', - Category::GlobalVentureCapitalFundId => 'alternative-investment-fund.venture-capital-fund-product', + Category::GlobalVentureCapitalFundId => 'venture-capital-funds.product', Category::InfrastructureFundId => 'alternative-investment-fund.infrastructure-fund-product', Category::FundForDistressedAssetId => 'alternative-investment-fund.fund-for-distressed-asset-product', Category::AngelFundId => 'alternative-investment-fund.angel-fund-product', diff --git a/resources/views/Admin/Pages/manage_leads/view-lead.blade.php b/resources/views/Admin/Pages/manage_leads/view-lead.blade.php index 8be1c5c..7cc6ce6 100644 --- a/resources/views/Admin/Pages/manage_leads/view-lead.blade.php +++ b/resources/views/Admin/Pages/manage_leads/view-lead.blade.php @@ -536,7 +536,7 @@ Investor Name Product Company - Adviser + {{-- Adviser --}} Email Website Lead Status @@ -557,7 +557,7 @@ -- @endif {{ $lead->lead_company ? $lead->lead_company : '--' }} - {{ $lead->advisor ? $lead->advisor : '--' }} + {{-- {{ $lead->advisor ? $lead->advisor : '--' }} --}} {{ $lead->email ? $lead->email : '--' }} {{ $lead->website ? $lead->website : '--' }} {{ $lead->lead_status ? $lead->lead_status . ' Lead' : '--' }} diff --git a/resources/views/Frontend/Pages/venture-capital-funds/index.blade.php b/resources/views/Frontend/Pages/venture-capital-funds/index.blade.php index de6990c..0a15626 100644 --- a/resources/views/Frontend/Pages/venture-capital-funds/index.blade.php +++ b/resources/views/Frontend/Pages/venture-capital-funds/index.blade.php @@ -155,535 +155,5 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @endsection diff --git a/resources/views/components/global-venture-capital-fund-product.blade.php b/resources/views/components/global-venture-capital-fund-product.blade.php index ff5f6c6..a093d74 100644 --- a/resources/views/components/global-venture-capital-fund-product.blade.php +++ b/resources/views/components/global-venture-capital-fund-product.blade.php @@ -3,20 +3,20 @@ -