bugs fixes

This commit is contained in:
meghamalore
2024-07-01 11:07:27 +05:30
parent ac9f95dd41
commit a39ce49fcb
60 changed files with 85 additions and 150 deletions

View File

@@ -167,9 +167,10 @@ class AlternativeInvestmentFundController extends Controller
// dd($otherVCP);
$productData = AlternativeInvestmentFund::where('slug', $slug)->first();
// dd($productData,$slug,$ventureCapitalFund);
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($ventureCapitalFund, $otherVCP, $productData);
return view('Frontend.Pages.alternative-investment-fund.venture-capital-fund-product', compact('ventureCapitalFund', 'otherVCP', 'productData'));
// dd($ventureCapitalFund, $otherVCP, $productData,$product);
return view('Frontend.Pages.alternative-investment-fund.venture-capital-fund-product', compact('ventureCapitalFund', 'otherVCP', 'productData','product'));
}
public function infrastructureFundProduct($slug)
@@ -183,7 +184,7 @@ class AlternativeInvestmentFundController extends Controller
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($infrastructureFund);
// dd($infrastructureFund,$productData,$product);
return view('Frontend.Pages.alternative-investment-fund.infrastructure-fund-product', compact('infrastructureFund', 'otherIF', 'productData', 'product'));
}
@@ -211,9 +212,12 @@ class AlternativeInvestmentFundController extends Controller
->where(['products.status' => true, 'categories_id' => 31])
->where('slug', '!=', $slug)
->get();
$product = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$productData = Product::with('product_images')->where('id', '=', $product->products_id)->first();
// dd($privateEquityFund,$productData,$product);
$product_slug = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$product = Product::with('product_images')->where('id', '=', $product_slug->products_id)->first();
$productData = Product::with('product_images')->where('id', '=', $product_slug->products_id)->first();
// dd($privateEquityFund,$productData,$product_slug,$product);
return view('Frontend.Pages.alternative-investment-fund.private-equity-fund-product', compact('privateEquityFund', 'otherPEF', 'product', 'productData'));
}
@@ -579,9 +583,11 @@ class AlternativeInvestmentFundController extends Controller
// ->get();
// $productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$productData = Product::with('product_images')->where('id', '=', $longOnlyEquityFund->products_id)->first();
$product = Product::with('product_images')->where('id', '=', $longOnlyEquityFund->products_id)->first();
// dd($otherHF);
// dd($productData,$longOnlyEquityFund);
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'productData'));
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'productData','product'));
}
public function privateCreditFund()
{
@@ -615,8 +621,9 @@ class AlternativeInvestmentFundController extends Controller
->where('slug', '!=', $slug)
->get();
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$product = product::with('alternativeInvestmentFund')->where('id', '=', $productData->products_id)->first();
// dd($product,$productData,$privateCreditFund);
$productData = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($privateCreditFund);
return view('Frontend.Pages.alternative-investment-fund.private-credit-fund-product', compact('privateCreditFund', 'otherPEF', 'productData'));
return view('Frontend.Pages.alternative-investment-fund.private-credit-fund-product', compact('privateCreditFund', 'otherPEF', 'productData','product'));
}
}

View File

@@ -57995,7 +57995,9 @@ label.error {
#kt_profile_details_view svg.svg-inline--fa.fa-download:hover {
color: #c18948;
}
#update_lead_form .select2-container--bootstrap5 .select2-selection {
height: 50px !important;
}
.modal .btn.btn-icon .svg-icon:hover {
color: #fff;
background-color: #c18948;

View File

@@ -1286,6 +1286,9 @@ nav {
overflow-y: scroll;
overflow-x: hidden;
}
#update_lead_form .select2-container--bootstrap5 .select2-selection {
height: 50px !important;
}
#manage_commission_view
.modal-dialog
.btn.btn-active-color-primary:hover:not(.btn-active) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

View File

@@ -7,8 +7,9 @@
<style>
label.error {
color: red !important;
}
color: red !important;
}
.required:after {
content: "*";
position: relative;
@@ -494,7 +495,6 @@
@endforeach
</select>
</div>
<div class="form-box mb-5">
<label class="fw-semibold form-label mt-3">
<span>Products</span>
@@ -508,13 +508,6 @@
@endforeach
</select>
</div>
{{-- <div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Lead Name</span>
</label>
<input type="text" class="form-control form-control-solid"
name="first_name" value='{{ $lead->first_name }}' />
</div> --}}
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
@@ -539,7 +532,6 @@
name="website" value='{{ $lead->website }}' />
</div>
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
@@ -549,24 +541,24 @@
</label>
<!-- <select class="form-select" name="lead_status"
data-placeholder="Select a Lead Status">
<option value="New"
{{ $lead->lead_status == 'New' ? 'selected' : '' }}>New
</option>
<option value="Ongoing"
{{ $lead->lead_status == 'Ongoing' ? 'selected' : '' }}>
Ongoing
</option>
<option value="Completed"
{{ $lead->lead_status == 'Completed' ? 'selected' : '' }}>
Completed</option>
<option value="Old"
{{ $lead->lead_status == 'Old' ? 'selected' : '' }}>Old
</option>
<option value="Lost"
{{ $lead->lead_status == 'Lost' ? 'selected' : '' }}>Lost
</option>
</select> -->
data-placeholder="Select a Lead Status">
<option value="New"
{{ $lead->lead_status == 'New' ? 'selected' : '' }}>New
</option>
<option value="Ongoing"
{{ $lead->lead_status == 'Ongoing' ? 'selected' : '' }}>
Ongoing
</option>
<option value="Completed"
{{ $lead->lead_status == 'Completed' ? 'selected' : '' }}>
Completed</option>
<option value="Old"
{{ $lead->lead_status == 'Old' ? 'selected' : '' }}>Old
</option>
<option value="Lost"
{{ $lead->lead_status == 'Lost' ? 'selected' : '' }}>Lost
</option>
</select> -->
<select
class="form-select form-select-solid lead_status select2-hidden-accessible"
data-control="select2" data-hide-search="true"
@@ -590,83 +582,7 @@
</option>
</select>
</div>
{{-- <div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Last Name</span>
</label>
<input type="text" class="form-control form-control-solid" onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" name="last_name" value='{{$lead->last_name}}' />
</div> --}}
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Mobile</span>
</label>
<input type="text" class="form-control form-control-solid"
name="mobile" value='{{ $lead->mobile }}' />
</div>
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Lead Source</span>
</label>
{{-- <input type="text" class="form-control form-control-solid"
name="lead_source" value='{{ $lead->lead_source }}' /> --}}
<select id="lead_source" name="lead_source" data-control="select2"
class="form-control form-control-solid">
<option value="" disabled selected>Select Lead Source
</option>
<option value="Direct" {{$lead->lead_source == 'Direct' ? 'selected' : ''}}>Direct</option>
<option value="Referral" {{$lead->lead_source == 'Referral' ? 'selected' : ''}}>Referral</option>
<option value="Website Visitor" {{$lead->lead_source == 'Website Visitor' ? 'selected' : ''}}>Website Visitor</option>
<option value="Email Marketing" {{$lead->lead_source == 'Email Marketing' ? 'selected' : ''}}>Email Marketing</option>
<option value="Cold calling" {{$lead->lead_source == 'Cold calling' ? 'selected' : ''}}>Cold calling</option>
<option value="Social Media" {{$lead->lead_source == 'Social Media' ? 'selected' : ''}}>Social Media</option>
<option value="Third-Party Lead Providers" {{$lead->lead_source == 'Third-Party Lead Providers' ? 'selected' : ''}}>Third-Party Lead
Providers</option>
<option value="Webinar & Events" {{$lead->lead_source == 'Webinar & Events' ? 'selected' : ''}}>Webinar & Events</option>
<option value="Others" {{$lead->lead_source == 'Others' ? 'selected' : ''}}>Others</option>
{{-- @foreach ($users as $data) --}}
{{-- <option
value="{{ $data->id }}"{{ $lead->lead_source == $data->id ? 'selected' : '' }}>
{{ $data->name }}
</option> --}}
{{-- @endforeach --}}
</select>
</div>
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>No. of Employees</span>
</label>
<input type="number" class="form-control form-control-solid"
name="total_employees"
value='{{ $lead->total_employees }}' />
</div>
{{-- <div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Lead Name</span>
</label>
<input type="text" class="form-control form-control-solid"
name="first_name" value='{{ $lead->first_name }}' />
</div> --}}
</div>
@@ -676,10 +592,11 @@
<span>Investor</span>
</label>
<input type="text" class="form-control form-control-solid"
name="investor_name" readonly value='{{ $lead->user->name ?? $lead->investor_name }}' />
name="investor_name" readonly
value='{{ $lead->user->name ?? $lead->investor_name }}' />
<input type="text"
class="form-control form-control-solid d-none" name="users_id"
readonly value='{{$lead->user->id ?? null}}' />
readonly value='{{ $lead->user->id ?? null }}' />
{{-- <select name="users_id" id="" class="form-select">
<option value="">Select an Investor</option> --}}
{{-- @foreach ($investor as $data)
@@ -824,7 +741,8 @@
</label>
<input type="text" class="form-control form-control-solid"
name="state" value='{{ $lead->state }}' onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)"/>
name="state" value='{{ $lead->state }}'
onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
</div>
</div>
@@ -841,7 +759,8 @@
</label>
<input type="text" class="form-control form-control-solid"
name="city" value='{{ $lead->city }}' onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
name="city" value='{{ $lead->city }}'
onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
</div>
@@ -854,7 +773,9 @@
</label>
<input type="text" class="form-control form-control-solid"
name="zip_code" oninput="this.value = this.value.replace(/[^0-9]/g, '').replace(/(\..*)\./g, '$1');" value='{{ $lead->zip_code }}' />
name="zip_code"
oninput="this.value = this.value.replace(/[^0-9]/g, '').replace(/(\..*)\./g, '$1');"
value='{{ $lead->zip_code }}' />
</div>
@@ -869,7 +790,8 @@
</label>
<input type="text" class="form-control form-control-solid"
name="country" value='{{ $lead->country }}' onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
name="country" value='{{ $lead->country }}'
onkeydown="return /^[a-zA-Z\s]+$/i.test(event.key)" />
</div>
@@ -1057,8 +979,8 @@
<div class="accordion-item mb-3">
<h2 class="accordion-header"
id="heading{{ $data->id }}">
<button class="accordion-button collapsed" type="button"
data-bs-toggle="collapse"
<button class="accordion-button collapsed"
type="button" data-bs-toggle="collapse"
data-bs-target="#collapseTasksOpen{{ $data->id }}"
aria-expanded="true"
aria-controls="collapseTasksOpen{{ $data->id }}">
@@ -1126,8 +1048,8 @@
<div class="accordion-item">
<h2 class="accordion-header"
id="heading{{ $data->id }}">
<button class="accordion-button collapsed" type="button"
data-bs-toggle="collapse"
<button class="accordion-button collapsed"
type="button" data-bs-toggle="collapse"
data-bs-target="#collapseTasksOpen{{ $data->id }}"
aria-expanded="true"
aria-controls="collapseTasksOpen{{ $data->id }}">
@@ -1872,9 +1794,9 @@
<!-- <a class="action_icon" data-bs-toggle="modal" data-bs-target="#subjectpop">
<i class="fa fa-file-text" aria-hidden="true"></i>
<i class="fa fa-file-text" aria-hidden="true"></i>
</a> -->
</a> -->
<input type="text" placeholder="Please enter subject" id="" name="subject">
@@ -1933,9 +1855,9 @@
<!-- <input type="text" id="fname" name="fname" value="vijay"><a class="action_icon" data-bs-toggle="modal" data-bs-target="#ownerpop">
<i class="fa fa-user" aria-hidden="true"></i>
<i class="fa fa-user" aria-hidden="true"></i>
</a> -->
</a> -->
</div>
@@ -2047,8 +1969,7 @@
<label for="fname">From <span class="cmm-span">*</span></label>
<input type="text" placeholder="Please select a date"id="meeting-from"
name="from" />
<input type="text" placeholder="Please select a date"id="meeting-from" name="from" />
</div>
@@ -2056,8 +1977,7 @@
<label for="fname">To <span class="cmm-span">*</span></label>
<input type="text" placeholder="Please select a date" id="meeting-to"
name="to" />
<input type="text" placeholder="Please select a date" id="meeting-to" name="to" />
</div>

View File

@@ -137,17 +137,18 @@
<div class="container">
{{-- @dd($productData->product_images->toArray() == null ? 'null' : 'not null' ) --}}
@if ($productData && $productData->product_images)
{{-- @if ($product && $product->product_images) --}}
@if ($product && $product->product_images->toArray() != null)
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
@foreach ($productData->product_images as $key => $image)
@foreach ($product->product_images as $key => $image)
<button type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide-to="{{ $key }}" class="{{ $key === 0 ? 'active' : '' }}"
aria-label="Slide {{ $key + 1 }}"></button>
@endforeach
</div>
<div class="carousel-inner">
@foreach ($productData->product_images as $key => $image)
@foreach ($product->product_images as $key => $image)
<div class="carousel-item {{ $key === 0 ? 'active' : '' }}">
<img src="{{ asset('public/' . $image['images']) }}" class="d-block w-100 img-zoom"
alt="Image {{ $key }}">
@@ -182,7 +183,7 @@
</div> --}}
<div class="col-md-4">
<p>isin code</p>
<p>ISIN code</p>
<span>{{ $fundForDistressedAsset->isin_code ?? '--' }}</span>
@@ -754,7 +755,6 @@
</div> --}}
@include('Frontend.Pages.alternative-investment-fund.presentation-factsheet')
</div>
</div>

View File

@@ -94,17 +94,19 @@
<!--</div>-->
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images)
{{-- @if ($product && $product->product_images) --}}
@if ($product && $product->product_images->toArray() != null)
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
@foreach ($productData->product_images as $key => $image)
@foreach ($product->product_images as $key => $image)
<button type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide-to="{{ $key }}" class="{{ $key === 0 ? 'active' : '' }}"
aria-label="Slide {{ $key + 1 }}"></button>
@endforeach
</div>
<div class="carousel-inner">
@foreach ($productData->product_images as $key => $image)
@foreach ($product->product_images as $key => $image)
<div class="carousel-item {{ $key === 0 ? 'active' : '' }}">
<img src="{{ asset('public/' . $image['images']) }}" class="d-block w-100 img-zoom"
alt="Image {{ $key }}">

View File

@@ -6,14 +6,14 @@
<div>
<h5>Presentation</h5>
<i class="fa fa-download" style="font-size:24px"></i>
<a href="{{ $productData == false ? '#' : ($productData->presentation == null ? '#':$productData->presentation) }}"
class="card-link">{{ $productData == false ? 'PDF Not Available' : ($productData->presentation == null ? 'PDF Not Available':'PDF') }}</a>
<a href="{{ $product == false ? '#' : ($product->presentation == null ? '#':$product->presentation) }}"
class="card-link">{{ $product == false ? 'PDF Not Available' : ($product->presentation == null ? 'PDF Not Available':'PDF') }}</a>
</div>
<div>
<h5>Fact Sheet</h5>
<i class="fa fa-download" style="font-size:24px"></i>
<a href="{{ $productData == false ? '#' : ($productData->fact_sheet == null ? '#':$productData->fact_sheet) }}"
class="card-link"> {{ $productData == false ? 'PDF Not Available' : ($productData->fact_sheet == null ? 'PDF Not Available':'PDF') }}</a>
<a href="{{ $product == false ? '#' : ($product->fact_sheet == null ? '#':$product->fact_sheet) }}"
class="card-link"> {{ $product == false ? 'PDF Not Available' : ($product->fact_sheet == null ? 'PDF Not Available':'PDF') }}</a>
</div>
</div>
</div>

View File

@@ -66,7 +66,8 @@
<div class="inner-disc">
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images)
{{-- @if($productData && $productData->product_images) --}}
@if ($productData && $productData->product_images->toArray() != null)
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
@foreach ($productData->product_images as $key => $image)

View File

@@ -135,17 +135,17 @@
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images)
@if ($product && $product->product_images)
<div id="carouselExampleIndicators" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
@foreach ($productData->product_images as $key => $image)
@foreach ($product->product_images as $key => $image)
<button type="button" data-bs-target="#carouselExampleIndicators"
data-bs-slide-to="{{ $key }}" class="{{ $key === 0 ? 'active' : '' }}"
aria-label="Slide {{ $key + 1 }}"></button>
@endforeach
</div>
<div class="carousel-inner">
@foreach ($productData->product_images as $key => $image)
@foreach ($product->product_images as $key => $image)
<div class="carousel-item {{ $key === 0 ? 'active' : '' }}">
<img src="{{ asset('public/' . $image['images']) }}" class="d-block w-100 img-zoom"
alt="Image {{ $key }}">