This commit is contained in:
meghamalore
2024-06-18 12:21:27 +05:30
22 changed files with 251 additions and 47 deletions

View File

@@ -42,6 +42,7 @@ use App\Models\ProductPhotoDocuments;
use Illuminate\Support\Facades\Validator;
use File;
use App\Models\Company;
use App\Models\FundReturn;
class ManageFreeUInvestmentController extends Controller
{
@@ -465,7 +466,7 @@ class ManageFreeUInvestmentController extends Controller
public function updateFundProduct(Request $request)
{
// dd($request->description);
// dd($request->return2019);
// $request->validate([
// 'issuer' => 'required'
// ]);
@@ -522,6 +523,26 @@ class ManageFreeUInvestmentController extends Controller
'year3_return' => $request->year3_return,
]);
if($request->return2019 || $request->return2020 || $request->return2021 || $request->return2022 )
{
if($request->return2019)
{
FundReturn::where(['funds_id'=>$request->fund_id,'label'=>2019])->update(['value'=>$request->return2019]);
}
if($request->return2020)
{
FundReturn::where(['funds_id'=>$request->fund_id,'label'=>2020])->update(['value'=>$request->return2020]);
}
if($request->return2021)
{
FundReturn::where(['funds_id'=>$request->fund_id,'label'=>2021])->update(['value'=>$request->return2021]);
}
if($request->return2022)
{
FundReturn::where(['funds_id'=>$request->fund_id,'label'=>2022])->update(['value'=>$request->return2022]);
}
}
$product = Product::where('id', (int)$request->product_fund_id)->first();
// dd($product);
if ($request->has('presentation')) {

View File

@@ -24,7 +24,7 @@ class GlobalHedgeFundController extends Controller
public function product($slug = '')
{
$hedgeFund = Fund::where('slug',$slug)->first();
$hedgeFund = Fund::with('returns')->where('slug',$slug)->first();
$productData = Fund::where('slug','=',$slug)->first();
$productData = Product::with('product_images')->where('id','=',$productData->products_id)->first();
// dd($hedgeFund);

View File

@@ -37,7 +37,7 @@ class GlobalPrivateEquityFundController extends Controller
public function product($slug = '')
{
$privateEquityFund = Fund::where('slug', $slug)->first();
$privateEquityFund = Fund::with('returns')->where('slug', $slug)->first();
$productData = Fund::where('slug', '=', $slug)->first();
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($privateEquityFund);

View File

@@ -25,7 +25,7 @@ class GlobalVentureCapitalFund extends Controller
public function product($slug = '')
{
$ventureCapitalFund = Fund::where('slug',$slug)->first();
$ventureCapitalFund = Fund::with('returns')->where('slug',$slug)->first();
$productData = Fund::where('slug','=',$slug)->first();
$productData = Product::where('id','=',$productData->products_id)->first();
// dd($ventureCapitalFund);

View File

@@ -24,7 +24,7 @@ class GlobalPrivateCreditController extends Controller
public function getGlobalPrivateCreditFundProduct($slug)
{
$ventureCapitalFund = Fund::where('slug', $slug)->first();
$ventureCapitalFund = Fund::with('returns')->where('slug', $slug)->first();
$productData = Fund::where('slug', '=', $slug)->first();
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($ventureCapitalFund);

View File

@@ -4921,7 +4921,7 @@ span.color-red {
}
.testi_slider_sec p {
text-align: center;
text-align: center !important;
color: #b18f62;
font-size: 20px;
font-weight: 500;

View File

@@ -578,6 +578,46 @@
<!--end::Input-->
</div>
@if($fund->funds->returns)
@php($count = count($fund->funds->returns))
@for($i=0; $i<($count > 3 ? 3 :$count); $i++)
{{-- <div class="col-md-4 mb-2">
<p>{{$ventureCapitalFund->returns[$i]->label}}</p>
<span>{{$ventureCapitalFund->returns[$i]->value.' %'}}</span>
</div> --}}
<div class="col-md-6 mt-4">
<!--begin::Label-->
<label class="fs-6 fw-semibold form-label mt-3">
<span class="required">{{$fund->funds->returns[$i]->label}}</span>
<!-- <i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Enter the contact's name."></i> -->
</label>
<!--end::Label-->
<!--begin::Input-->
<input type="text" class="form-control form-control-solid" name="{{'return'.$fund->funds->returns[$i]->label}}" placeholder='Enter 3 Year Return' value="{{$fund->funds->returns[$i]->value}}" />
<!--end::Input-->
</div>
@endfor
{{-- @if($count > 3)
<div class="tables row">
@for($i=3; $i<$count; $i++)
<div class="col-md-4 mb-2">
<p>{{$ventureCapitalFund->returns[$i]->label}}</p>
<span>{{$ventureCapitalFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@endif --}}
@endif
<div class="col-md-6 mt-4">

View File

@@ -102,14 +102,14 @@
</div>
</div>
<select name="categories[]" id=""
{{-- <select name="categories[]" id=""
class="form-control form-control-select category-dropdown"
multiple="multiple">
<option value="">Select Categories</option>
@foreach ($categories as $key => $category)
<option value="{{ $key }}">{{ $category }}</option>
@endforeach
</select>
</select> --}}
<div class="d-flex justify-content-center">
<button type="submit" class="btn btn-primary">
<span class="indicator-label">Add</span>

View File

@@ -186,7 +186,13 @@
</div>
<div class="col-md-4 mb-2">
<p>Website of the fund</p>
<span>{{ $angelFund->website_of_the_fund ?? 'N/A' }}</span>
<span>
@if($angelFund->website_of_the_fund)
<a href="{{'http://'.$angelFund->website_of_the_fund}}" target=”_blank”>{{$angelFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">
@@ -379,11 +385,11 @@
<p>Focused Real Estate Sectors</p>
<span>{{ $angelFund->focused_real_estate_sectors ?? 'N/A' }}</span>
</div>
<div class="col-md-6">
{{-- <div class="col-md-6">
<p>Trading Strategy Used</p>
<span>{{ $productData->trading_strategy_used ?? 'N/A' }}</span>
</div>
</div> --}}
</div>
</div>
</div>

View File

@@ -280,7 +280,14 @@
<p>Website of the fund</p>
<span>{{ $fundForDistressedAsset->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $fundForDistressedAsset->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($fundForDistressedAsset->website_of_the_fund)
<a href="{{'http://'.$fundForDistressedAsset->website_of_the_fund}}" target=”_blank”>{{$fundForDistressedAsset->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
@@ -600,13 +607,13 @@
<span>{{ $productData->focused_real_estate_sectors ?? 'N/A' }}</span>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading Strategy Used </p>
<span>{{ $productData->trading_strategy_used ?? '-' }}</span>
</div>
</div> --}}
</div>

View File

@@ -189,7 +189,14 @@
</div>
<div class="col-md-4 mb-2">
<p>Website of the fund</p>
<span>{{ $hedgeFund->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $hedgeFund->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($hedgeFund->website_of_the_fund)
<a href="{{'http://'.$hedgeFund->website_of_the_fund}}" target=”_blank”>{{$hedgeFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">
@@ -321,11 +328,10 @@
{{-- @dd($productData) --}}
<span>{{ $productData->focused_sectors_industries ?? 'N/A' }}</span>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading Strategy Used</p>
{{-- @dd($productData) --}}
<span>{{ $productData->trading_strategy_used ?? '-' }}</span>
</div>
</div> --}}
</div>
</div>
</div>

View File

@@ -187,7 +187,14 @@
<div class="tables row">
<div class="col-md-8">
<p>Website of the fund</p>
<span>{{ $infrastructureFund->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $infrastructureFund->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($infrastructureFund->website_of_the_fund)
<a href="{{'http://'.$infrastructureFund->website_of_the_fund}}" target=”_blank”>{{$infrastructureFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
<div class="col-md-4">
<p>Sponsor</p>
@@ -376,10 +383,10 @@
<p>Regions Covered (Geographical Locations covered by the fund)</p>
<span>{{ $infrastructureFund->regions_covered ?? 'N/A' }}</span>
</div>
<div class="col-md-6">
{{-- <div class="col-md-6">
<p>Trading Strategy Used</p>
<span>{{ $productData->trading_strategy_used ?? '-' }}</span>
</div>
</div> --}}
</div>
</div>
</div>

View File

@@ -199,7 +199,14 @@
</div>
<div class="col-md-4">
<p>Website of the fund</p>
<span>{{ $longOnlyEquityFund->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $longOnlyEquityFund->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($longOnlyEquityFund->website_of_the_fund)
<a href="{{'http://'.$longOnlyEquityFund->website_of_the_fund}}" target=”_blank”>{{$longOnlyEquityFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">
@@ -348,10 +355,10 @@
<p>Trading strategy</p>
<span>{{ $longOnlyEquityFund->trading_strategy ?? 'N/A' }}</span>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading Strategy Used</p>
<span>{{ $longOnlyEquityFund->trading_strategy_used ?? 'N/A' }}</span>
</div>
</div> --}}
</div>
</div>
</div>

View File

@@ -140,10 +140,10 @@
<p>Involved in short selling</p>
<h4>{{ $privateCreditFund->involved_in_short_selling ?? 'N/A' }}</h4>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading strategy used</p>
<h4>{{ $privateCreditFund->trading_strategy_used ?? '-' }}</h4>
</div>
</div> --}}
</div>
{{-- <div class="tables row">
<div class="col-md-4">
@@ -183,7 +183,14 @@
</div>
<div class="col-md-4">
<p>Website of the fund</p>
<span>{{ $privateCreditFund->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $privateCreditFund->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($privateCreditFund->website_of_the_fund)
<a href="{{'http://'.$privateCreditFund->website_of_the_fund}}" target=”_blank”>{{$privateCreditFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">

View File

@@ -153,7 +153,14 @@
</div>
<div class="col-md-4">
<p>Website of the fund</p>
<span>{{ $privateEquityFund->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $privateEquityFund->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($privateEquityFund->website_of_the_fund)
<a href="{{'http://'.$privateEquityFund->website_of_the_fund}}" target=”_blank”>{{$privateEquityFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">
@@ -363,10 +370,10 @@
<p>Trading Strategy</p>
<span>{{ $product->trading_strategy ?? 'N/A' }}</span>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading Strategy Used</p>
<span>{{ $product->trading_strategy_used ?? 'N/A' }}</span>
</div>
</div> --}}
<div class="col-md-4">
<p>Involved In Short Selling</p>
<span>{{ $product->involved_in_short_selling ?? 'N/A' }}</span>

View File

@@ -183,7 +183,14 @@
</div>
<div class="col-md-4">
<p>Website of the fund</p>
<span>{{ $pipe->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $pipe->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($pipe->website_of_the_fund)
<a href="{{'http://'.$pipe->website_of_the_fund}}" target=”_blank”>{{$pipe->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">
@@ -373,10 +380,10 @@
<p>ISIN Code</p>
<span>{{ $productData->isin_code ?? 'N/A' }}</span>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading Strategy Used</p>
<span>{{ $productData->trading_strategy_used ?? 'N/A' }}</span>
</div>
</div> --}}
</div>
</div>
</div>

View File

@@ -302,7 +302,14 @@
<p>Website of the fund</p>
<span>{{ $realEstate->website_of_the_fund ?? 'N/A' }}</span>
{{-- <span>{{ $realEstate->website_of_the_fund ?? 'N/A' }}</span> --}}
<span>
@if($realEstate->website_of_the_fund)
<a href="{{'http://'.$realEstate->website_of_the_fund}}" target=”_blank”>{{$realEstate->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
@@ -685,10 +692,10 @@
<p>Involved In Short Selling</p>
<span>{{ $productData->involved_in_short_selling }}</span>
</div>
<div class="col-md-4" >
{{-- <div class="col-md-4" >
<p>Trading Strategy Used</p>
<span>{{ $productData->trading_strategy_used }}</span>
</div>
</div> --}}
</div>
</div>

View File

@@ -196,7 +196,14 @@
</div>
<div class="col-md-4">
<p>Website of the fund</p>
<span>{{ $ventureCapitalFund->website_of_the_fund ?? "N/A" }}</span>
{{-- <span>{{ $ventureCapitalFund->website_of_the_fund ?? "N/A" }}</span> --}}
<span>
@if($ventureCapitalFund->website_of_the_fund)
<a href="{{'http://'.$ventureCapitalFund->website_of_the_fund}}" target=”_blank”>{{$ventureCapitalFund->website_of_the_fund}}<a>
@else
{{'N/A'}}
@endif
</span>
</div>
</div>
<div class="tables row">
@@ -399,10 +406,10 @@
<p>Involved In Short Selling</p>
<span>{{ $ventureCapitalFund->involved_in_short_selling ?? "N/A" }}</span>
</div>
<div class="col-md-4">
{{-- <div class="col-md-4">
<p>Trading Strategy Used</p>
<span>{{ $ventureCapitalFund->trading_strategy_used ?? '-' }}</span>
</div>
</div> --}}
</div>
</div>
</div>

View File

@@ -165,15 +165,40 @@
</div>
<div class="col-md-4 mb-2">
<p>1 Year Return</p>
<span>{{ $hedgeFund->year1_return ?? 'N/A' }}</span>
<span>{{ $hedgeFund->year1_return.' %' ?? 'N/A' }}</span>
</div>
<div class="col-md-4 mb-2">
<p>3 Year Return</p>
<span>{{ $hedgeFund->year3_return ?? 'N/A' }}</span>
<span>{{ $hedgeFund->year3_return.' %' ?? 'N/A' }}</span>
</div>
</div>
</div>
</div>
@if($hedgeFund->returns)
@php($count = count($hedgeFund->returns))
<div class="categeory">
<div class="details aos-init aos-animate" data-aos="zoom-in">
<div class="tables row">
@for($i=0; $i<($count > 3 ? 3 :$count); $i++)
<div class="col-md-4 mb-2">
<p>{{$hedgeFund->returns[$i]->label}}</p>
<span>{{$hedgeFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@if($count > 3)
<div class="tables row">
@for($i=3; $i<$count; $i++)
<div class="col-md-4 mb-2">
<p>{{$hedgeFund->returns[$i]->label}}</p>
<span>{{$hedgeFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@endif
</div>
</div>
@endif
@include('Frontend.Pages.alternative-investment-fund.presentation-factsheet')
</div>
</div>

View File

@@ -92,7 +92,7 @@
<div class="categeory">
<div class="details aos-init aos-animate" data-aos="zoom-in">
<div class="tables row">
<div class="col-md-4 mb-2">
<div class="col-md-8 mb-2">
<p>About Issuer</p>
<span>{{ $privateEquityFund->about_issuer ?? 'N/A' }}</span>
</div>
@@ -167,15 +167,40 @@
</div>
<div class="col-md-4 mb-2">
<p>1 Year Return</p>
<span>{{ $privateEquityFund->year1_return ?? 'N/A' }}</span>
<span>{{ $privateEquityFund->year1_return.' %' ?? 'N/A' }}</span>
</div>
<div class="col-md-4 mb-2">
<p>3 Year Return</p>
<span>{{ $privateEquityFund->year3_return ?? 'N/A' }}</span>
<span>{{ $privateEquityFund->year3_return.' %' ?? 'N/A' }}</span>
</div>
</div>
</div>
</div>
@if($privateEquityFund->returns)
@php($count = count($privateEquityFund->returns))
<div class="categeory">
<div class="details aos-init aos-animate" data-aos="zoom-in">
<div class="tables row">
@for($i=0; $i<($count > 3 ? 3 :$count); $i++)
<div class="col-md-4 mb-2">
<p>{{$privateEquityFund->returns[$i]->label}}</p>
<span>{{$privateEquityFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@if($count > 3)
<div class="tables row">
@for($i=3; $i<$count; $i++)
<div class="col-md-4 mb-2">
<p>{{$privateEquityFund->returns[$i]->label}}</p>
<span>{{$privateEquityFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@endif
</div>
</div>
@endif
@include('Frontend.Pages.alternative-investment-fund.presentation-factsheet')
</div>
</div>

View File

@@ -10,7 +10,7 @@
<div class="inn_testi">
<div class="inn_to_testi">
{{-- <img src="http://localhost/freeu/my-freeu/public/assets/media/FrontendImages/menu-logo.png"> --}}
<h2>{{ $singleTestimonial->description }}</h2>
<h2>"{{ $singleTestimonial->description }}"</h2>
<p>{{ $singleTestimonial->client_name }} <br>
<span>{{ $singleTestimonial->client_designation_company_name }}</span></p>
<div class="rating">

View File

@@ -167,15 +167,40 @@
</div>
<div class="col-md-4 mb-2">
<p>1 Year Return</p>
<span>{{ $ventureCapitalFund->year1_return ?? 'N/A' }}</span>
<span>{{ $ventureCapitalFund->year1_return.' %' ?? 'N/A' }}</span>
</div>
<div class="col-md-4 mb-2">
<p>3 Year Return</p>
<span>{{ $ventureCapitalFund->year3_return ?? 'N/A' }}</span>
<span>{{ $ventureCapitalFund->year3_return.' %' ?? 'N/A' }}</span>
</div>
</div>
</div>
</div>
@if($ventureCapitalFund->returns)
@php($count = count($ventureCapitalFund->returns))
<div class="categeory">
<div class="details aos-init aos-animate" data-aos="zoom-in">
<div class="tables row">
@for($i=0; $i<($count > 3 ? 3 :$count); $i++)
<div class="col-md-4 mb-2">
<p>{{$ventureCapitalFund->returns[$i]->label}}</p>
<span>{{$ventureCapitalFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@if($count > 3)
<div class="tables row">
@for($i=3; $i<$count; $i++)
<div class="col-md-4 mb-2">
<p>{{$ventureCapitalFund->returns[$i]->label}}</p>
<span>{{$ventureCapitalFund->returns[$i]->value.' %'}}</span>
</div>
@endfor
</div>
@endif
</div>
</div>
@endif
<!-- <div class="categeory">
<div class="details aos-init aos-animate" data-aos="zoom-in">
<div class="tables row">