fixing chnages

This commit is contained in:
cj201199
2024-05-17 11:42:58 +05:30
parent f436ed89ce
commit ee2b7e5046
3 changed files with 10 additions and 6 deletions

View File

@@ -237,7 +237,8 @@ class DashboardController extends Controller
array_push($productDetails, $investmentArr);
} elseif (MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->first()) {
$data = MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->latest()->first();
$investmentArr = $this->totalInvestmentAmount_api($singleMUM, $data->getRawOriginal('absolute_return_till_date'));
// dd($data);
$investmentArr = $this->totalInvestmentAmount_api($singleMUM, $data->getRawOriginal('investment_value'));
array_push($productDetails, $investmentArr);
} elseif (MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->first()) {
$data = MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->latest()->first();
@@ -288,7 +289,8 @@ class DashboardController extends Controller
array_push($productDetails, $investmentArr);
} elseif (MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->first()) {
$data = MonthlyUpdateFractionalRealEstate::where('custom_id', $singleMUM->custom_id)->latest()->first();
$investmentArr = $this->totalInvestmentAmount($singleMUM, $data->getRawOriginal('absolute_return_till_date'));
// dd($data);
$investmentArr = $this->totalInvestmentAmount($singleMUM, $data->getRawOriginal('investment_value'));
array_push($productDetails, $investmentArr);
}
// elseif (MonthlyUpdatePeerToPeerLending::where('custom_id', $singleMUM->custom_id)->first()) {

View File

@@ -569,7 +569,7 @@
</div>
@foreach($user_docs as $doc)
@if($doc->doc_type == 'Pan')
<div class="row mb-7">
{{-- <div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-10 fw-semibold text-muted">Pan Card Of Authorized Signatory</label>
<!--end::Label-->
@@ -580,9 +580,9 @@
</a>
</div>
<!--end::Col-->
</div>
</div> --}}
@elseif($doc->doc_type == 'Aadhar')
<div class="row mb-7">
{{-- <div class="row mb-7">
<!--begin::Label-->
<label class="col-lg-10 fw-semibold text-muted">Aadhar Card Of Authorized Signatory</label>
<!--end::Label-->
@@ -593,7 +593,7 @@
</a>
</div>
<!--end::Col-->
</div>
</div> --}}
@elseif($doc->doc_type == 'Passport')
<div class="row mb-7">
<!--begin::Label-->

View File

@@ -134,7 +134,9 @@
</tr>
</thead>
<tbody>
{{-- @dd($reedemedInvestmentProduct['productDetails']); --}}
@foreach ($reedemedInvestmentProduct['productDetails'] as $product)
@php($customId = \Crypt::encrypt($product['custom_id']))
<tr>
<td><img src="{{ $product['company_logo'] }}" /></td>