website bugs solving

This commit is contained in:
Chirag
2024-05-24 14:42:08 +05:30
parent 3be645e693
commit 702219efb8
8 changed files with 18 additions and 11 deletions

View File

@@ -572,7 +572,7 @@ class AlternativeInvestmentFundController extends Controller
->get();
$productData = AlternativeInvestmentFund::where('slug', '=', $slug)->first();
$product = Product::with('product_images')->where('id', '=', $productData->products_id)->first();
// dd($productData);
// dd($otherHF);
// dd($longOnlyEquityFund, $slug);
return view('Frontend.Pages.alternative-investment-fund.long-only-equity-fund-product', compact('longOnlyEquityFund', 'otherHF', 'productData','product'));
}

View File

@@ -20,7 +20,14 @@
<div class="dataTable_area my-5 mb-0">
<!--begin::Card-->
<div class="card">
<div class="card-header border-0 pt-0 h-0">
<div class="card-header border-0 pt-5 h-0">
<div class="top_header d-flex justify-content-between">
<p class='fs-2 fw-bold'>Manage Sub Admin</p>
<div class="table_right_options d-flex">
<a class="btn btn-primary me-3" href="{{route('manage_sub_admin')}}" style="margin-left: 682px;">Back</a>
</div>
</div>
<!--begin::Card toolbar-->
<div class="card-toolbar">
<!--begin::Toolbar-->

View File

@@ -182,7 +182,7 @@
</div> --}}
<div class="col-md-6">
<p>Description</p>
<h4>{{ $productData->description ?? '-' }}</h4>
<h4>{{ $product->description ?? '-' }}</h4>
</div>
</div>
</div>

View File

@@ -261,7 +261,7 @@
<p>Accepting Overseas investment</p>
<span>{{ $privateEquityFund->accepting_overseas_investment ?? '-' }}</span>
</div>
{{-- @dd($otherPEF[0]->involved_in_short_selling); --}}
<div class="col-md-6" style="{{ $otherPEF[0]->involved_in_short_selling ? '' : 'display:none;' }}">
<p>Involved In Short Selling</p>
<span>{{ $otherPEF[0]->involved_in_short_selling ?? '-' }}</span>

View File

@@ -108,7 +108,7 @@
<!--</div>-->
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images != null)
@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

@@ -41,7 +41,7 @@
<!--</div>-->
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images != null)
@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

@@ -107,7 +107,7 @@
<div class="modal-body">
<div>
<label for="email">OTP</label>
<input type="number" name="email_otp" id="email_otp">
<input type="text" oninput="$(this).val($(this).val().replace(/[^0-9]/g,''))" name="email_otp" id="email_otp">
</div>
{{-- <p>OTP has been sent to your registered email address. <br>OTP valid for <span
id="countdowns-timer"></span> sec</p>
@@ -141,8 +141,8 @@
</div>
<div class="modal-body">
<label for="newcontact_number">New Phone Number</label>
<input type="tel" name="newcontact_number" id="newcontact_number"
placeholder="Enter phone number" maxlength="10" minlength="10">
<input type="text" name="newcontact_number" id="newcontact_number"
placeholder="Enter phone number" oninput="$(this).val($(this).val().replace(/[^0-9]/g,''))" maxlength="10" minlength="10">
</div>
<div class="modal-footer justify-content-center">
<button type="button" class="cancle-btn removecontact_number"
@@ -174,7 +174,7 @@
<div class="modal-body">
<div>
<label for="mobile_otp">OTP</label>
<input type="number" name="mobile_otp" id="mobile_otp">
<input type="text" oninput="$(this).val($(this).val().replace(/[^0-9]/g,''))" name="mobile_otp" id="mobile_otp">
</div>
{{-- <p>OTP has been sent to your registered email address. <br>OTP valid for <span
id="countdowns-timer"></span> sec</p>

View File

@@ -41,7 +41,7 @@
<!--</div>-->
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images != null)
@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)