bugs fixing

This commit is contained in:
cj201199
2024-05-21 19:26:27 +05:30
parent e1aec62aa3
commit 613aeb7852
6 changed files with 20 additions and 14 deletions

View File

@@ -194,7 +194,7 @@ class ManageInvestorController extends Controller
public function investedProductDetails($id)
{
$monthlyUpdateMaster = MonthlyUpdateMaster::findOrFail($id);
$monthlyUpdateMaster = MonthlyUpdateMaster::with('companies')->findOrFail($id);
$peerToPeerLending = ['Finance Peer', 'Faircent', 'Liquiloans'];
$indianfinacial = ['Invoice Discounting', 'Clean And Green Assets', 'Venture Debt', 'High Yield Finance', 'Securitized debt instrument', 'Lease Based Financing', 'Revenue Based Financing'];
if (in_array($monthlyUpdateMaster->categories, $peerToPeerLending)) {
@@ -206,6 +206,7 @@ class ManageInvestorController extends Controller
} elseif ($monthlyUpdateMaster->categories == "Alternative Investment Fund") {
$data = MonthlyUpdateAlternativeInvestmentFund::where('custom_id', $monthlyUpdateMaster->custom_id)->latest()->first();
}
// dd($data);
return view('Admin.Pages.manage_investors.invested_products.index', [
'monthlyUpdateMaster' => $monthlyUpdateMaster,
'data' => $data

View File

@@ -62,7 +62,7 @@ function imagePath($path = null)
$finalPath = "https://staging.jerichoalternatives.in/";
}
if (env('APP_ENV') == 'local') {
$finalPath = "http://localhost/jericho_28_march/";
$finalPath = "http://localhost/my-freeu/";
}
return $finalPath . $path;
}

View File

@@ -12,9 +12,9 @@
<li class="nav-item">
<a class="nav-link fw-bold" data-bs-toggle="tab" href="#transactions">Investment Summary</a>
</li>
<li class="nav-item">
{{-- <li class="nav-item">
<a class="nav-link fw-bold" data-bs-toggle="tab" href="#Summary">Account Portfolio Summary</a>
</li>
</li> --}}
<li class="nav-item">
<a class="nav-link fw-bold" data-bs-toggle="tab" href="#Download">Download Statement/Reports</a>
</li>
@@ -158,7 +158,7 @@
</label>
<!--end::Label-->
<!--begin::Input-->
<div class="form-control form-control-solid">{{$monthlyUpdateMaster->investment_platform}}</div>
<div class="form-control form-control-solid">{{$monthlyUpdateMaster->companies->company_name}}</div>
</div>
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
@@ -300,7 +300,7 @@
<!--begin::Input-->
<div class="form-control form-control-solid">{{$data->current_valuation}}</div>
</div>
<div class="form-box mb-5">
{{-- <div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>Current Nav </span>
<!-- <i class="fas fa-exclamation-circle ms-1 fs-7" data-bs-toggle="tooltip" title="Enter the contact's name."></i> -->
@@ -308,7 +308,7 @@
<!--end::Label-->
<!--begin::Input-->
<div class="form-control form-control-solid">{{$data->current_nav}}</div>
</div>
</div> --}}
<div class="form-box mb-5">
<label class="fs-6 fw-semibold form-label mt-3">
<span>No Of Units Held</span>
@@ -412,7 +412,11 @@
<div class="add_new_investors my-5 mb-0">
<!--begin::Card-->
<div class="card mb-8">
<!--end::Card body-->
{{-- Statement/Reports {{$data->statement_reports}} --}}
@foreach($data->statement_reports as $data)
<td><a href="{{$data}}">Statement/Reports {{$loop->iteration}}</a></td>
@endforeach
</div>
<!--end::Card-->

View File

@@ -136,7 +136,8 @@
<div class="table-invest">
<div class="container">
@if ($productData && $productData->product_images != null)
{{-- @dd($productData->product_images->toArray() == null ? 'null' : 'not 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

@@ -24,7 +24,7 @@
<div class="form-group col-md-6">
<label>Name of the AIF Fund</label>
<input type="text" name="name_of_the_aif_fund"
value="{{ $aifProduct->name_of_the_aif_fund }}" readonly>
value="{{ $aifProduct->name_of_the_aif_fund }}" >
</div>
<div class="form-group col-md-6">
<label>Fund Category</label>
@@ -62,19 +62,19 @@
</div>
<div class="form-group col-md-6">
<label>Fund Strategy</label>
<input type="text" name="fund_strategy" value="{{ $aifProduct->fund_strategy }}" readonly>
<input type="text" name="fund_strategy" value="{{ $aifProduct->fund_strategy }}" >
</div>
<div class="form-group col-md-6">
<label>Fund Manager Name</label>
<input type="text" name="fund_manager_name" value="{{ $aifProduct->fund_manager_name }}" readonly>
<input type="text" name="fund_manager_name" value="{{ $aifProduct->fund_manager_name }}" >
</div>
<div class="form-group col-md-6">
<label>Sponsor</label>
<input type="text" name="sponsor" value="{{ $aifProduct->sponsor }}" readonly>
<input type="text" name="sponsor" value="{{ $aifProduct->sponsor }}" >
</div>
<div class="form-group col-md-6">
<label>Credit Rating (if any)</label>
<input type="text" name="credit_rating" value="{{ $aifProduct->credit_rating }}" readonly>
<input type="text" name="credit_rating" value="{{ $aifProduct->credit_rating }}" >
</div>
<div class="form-group col-md-6">
<label>Total Capital Commitment</label>