wip
This commit is contained in:
@@ -18,13 +18,9 @@ class LoanRepository
|
|||||||
account_number: $record->account_number,
|
account_number: $record->account_number,
|
||||||
);
|
);
|
||||||
|
|
||||||
info([$data]);
|
return $data->errCode != 0
|
||||||
|
? view('module.loan::loan-loan-remaining', compact('data'))
|
||||||
// return $data->errCode != 0
|
: view('module.loan::loan-loan-remaining', compact('data'));
|
||||||
// ? view('module.card-balance::error-response', compact('data'))
|
|
||||||
// : view('module.card-balance::card-balance-modal', compact('data'));
|
|
||||||
|
|
||||||
return view('welcome');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function fetchCardBalance(string $passport_serie, int|string $passport_id, int|string $account_number): object
|
public function fetchCardBalance(string $passport_serie, int|string $passport_id, int|string $account_number): object
|
||||||
|
|||||||
46
app/Modules/Loan/Resources/Views/loan-remaining.blade.php
Normal file
46
app/Modules/Loan/Resources/Views/loan-remaining.blade.php
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
<div id="loan-remaining-item-container">
|
||||||
|
<h4>Şahamça: <strong>"TÜRKMENBAŞY" TPTB-nyň Magdanly şahamçasy</strong></h4>
|
||||||
|
<h4>Müşderi: <strong>Ikramowa Muhaýya Ikramowna</strong></h4>
|
||||||
|
<h4 class="mb-4">Şertnama belgisi: <strong>10061</strong></h4>
|
||||||
|
|
||||||
|
<h4>Jemi karzyň möçberi: <strong>40000</strong></h4>
|
||||||
|
|
||||||
|
<h4>Karz boýunça jemi galyndy: <strong>34732</strong></h4>
|
||||||
|
<h4>Hasaplama göterim (şu aý üçin): <strong>0</strong></h4>
|
||||||
|
<h4>Hasaplanan esasy bergi (şu aý üçin): <strong>0</strong></h4>
|
||||||
|
|
||||||
|
<h4>Jemi tölenen möçberi: <strong>5268</strong></h4>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.loan-history-container {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 20% 1fr;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.loan-history-container {
|
||||||
|
display: block !important;
|
||||||
|
}
|
||||||
|
#loan-history-item-container {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
|
<div class="loan-history-container">
|
||||||
|
<div id="loan-remaining-item-container">
|
||||||
|
<h4>Şahamça: <strong>{{ $data->branchName }}</strong></h4>
|
||||||
|
<h4>Müşderi: <strong>{{ $data->clientName }}</strong></h4>
|
||||||
|
<h4 class="mb-4">Şertnama belgisi: <strong>{{ $data->docNum }}</strong></h4>
|
||||||
|
|
||||||
|
<h4>Jemi karzyň möçberi: <strong>{{ $data->docSum }}</strong></h4>
|
||||||
|
|
||||||
|
<h4>Karz boýunça jemi galyndy: <strong>{{ $data->balans }}</strong></h4>
|
||||||
|
<h4>Hasaplama göterim (şu aý üçin): <strong>{{ $data->percentBalance }}</strong></h4>
|
||||||
|
<h4>Hasaplanan esasy bergi (şu aý üçin): <strong>{{ $data->docMonthSum }}</strong></h4>
|
||||||
|
|
||||||
|
<h4>Jemi tölenen möçberi: <strong>{{ $data->docPayed }}</strong></h4>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
Reference in New Issue
Block a user