Client view with details
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
c3776fb29a
commit
1e1772d3ca
@@ -45,29 +45,59 @@
|
|||||||
</mat-card-title>
|
</mat-card-title>
|
||||||
|
|
||||||
<mat-card-subtitle>
|
<mat-card-subtitle>
|
||||||
<p>
|
<div fxLayout="row" fxLayout.lt-md="column">
|
||||||
<b>{{"labels.inputs.Office" | translate}} :</b><mifosx-entity-name entityName="{{clientViewData.officeName}}"></mifosx-entity-name><br />
|
<div fxFlex="50%">
|
||||||
<b>{{"labels.inputs.Client" | translate}} :</b> <mifosx-account-number accountNo="{{clientViewData.accountNo}}"></mifosx-account-number><br />
|
<table class="account-overview">
|
||||||
<b>{{"labels.inputs.External Id" | translate}}:</b><mifosx-external-identifier externalId="{{clientViewData.externalId}}" completed="true"></mifosx-external-identifier><br />
|
<tbody>
|
||||||
<span *ngIf="clientViewData.staffName"><b>{{"labels.inputs.Staff" | translate}} :</b> {{clientViewData.staffName ||
|
<tr>
|
||||||
'Unassigned'}}<br /></span>
|
<td><b>{{"labels.inputs.Office" | translate}}</b></td>
|
||||||
<span *ngIf="clientViewData.activationDate"><b>{{"labels.inputs.Activation Date" | translate}} :</b> {{clientViewData.activationDate |
|
<td><mifosx-entity-name entityName="{{clientViewData.officeName}}"></mifosx-entity-name></td>
|
||||||
dateFormat}}<br /></span>
|
</tr>
|
||||||
<span *ngIf="clientViewData.groups.length > 0">
|
<tr>
|
||||||
{{"labels.inputs.Member Of" | translate}} :
|
<td><b>{{"labels.inputs.Client" | translate}}</b></td>
|
||||||
<span *ngFor="let group of clientViewData.groups">
|
<td><mifosx-account-number accountNo="{{clientViewData.accountNo}}"></mifosx-account-number></td>
|
||||||
<a>{{group.name}}</a>
|
</tr>
|
||||||
</span>
|
<tr>
|
||||||
</span>
|
<td><b>{{"labels.inputs.External Id" | translate}}</b></td>
|
||||||
<br />
|
<td><mifosx-external-identifier externalId="{{clientViewData.externalId}}" completed="true"></mifosx-external-identifier></td>
|
||||||
<span *ngIf="clientViewData.mobileNo">
|
</tr>
|
||||||
<b>{{"labels.inputs.Mobile Number" | translate}}:</b><mifosx-external-identifier externalId="{{clientViewData.mobileNo}}" completed="true"></mifosx-external-identifier><br />
|
<tr *ngIf="clientViewData.activationDate">
|
||||||
</span>
|
<td><b>{{"labels.inputs.Activation Date" | translate}}</b></td>
|
||||||
<span *ngIf="clientViewData.emailAddress">
|
<td>{{clientViewData.activationDate | dateFormat}}</td>
|
||||||
<b>{{"labels.inputs.Email" | translate}}:</b><mifosx-external-identifier externalId="{{clientViewData.emailAddress}}" completed="true"></mifosx-external-identifier><br />
|
</tr>
|
||||||
</span>
|
<tr>
|
||||||
<br />
|
<td><b>{{"labels.inputs.Staff" | translate}}</b></td>
|
||||||
</p>
|
<td *ngIf="clientViewData.staffName">{{clientViewData.staffName}}</td>
|
||||||
|
<td *ngIf="!clientViewData.staffName">{{'labels.inputs.Unassigned' | translate}}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<div fxFlex="50%">
|
||||||
|
<table class="account-overview">
|
||||||
|
<tbody>
|
||||||
|
<tr *ngIf="clientViewData.groups.length > 0">
|
||||||
|
<td><b>{{"labels.inputs.Member Of" | translate}}</b></td>
|
||||||
|
<td><span *ngFor="let group of clientViewData.groups">
|
||||||
|
<span class="m-r-3">{{group.name}}</span>
|
||||||
|
</span></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><b>{{"labels.inputs.Client Type" | translate}}</b></td>
|
||||||
|
<td>{{clientViewData.clientType.name}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><b>{{"labels.inputs.Mobile Number" | translate}}</b></td>
|
||||||
|
<td><mifosx-external-identifier externalId="{{clientViewData.mobileNo}}" completed="true"></mifosx-external-identifier></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><b>{{"labels.inputs.Email" | translate}}</b></td>
|
||||||
|
<td><mifosx-external-identifier externalId="{{clientViewData.emailAddress}}" completed="true"></mifosx-external-identifier></td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</mat-card-subtitle>
|
</mat-card-subtitle>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -19,3 +19,9 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.account-overview {
|
||||||
|
color: white;
|
||||||
|
min-width: 85%;
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|||||||
+1
@@ -98,6 +98,7 @@ export class LoanProductSummaryComponent implements OnInit, OnChanges {
|
|||||||
'overpaymentLiabilityAccount': this.glAccountLookUp(this.loanProduct.overpaymentLiabilityAccountId, liabilityAccountData),
|
'overpaymentLiabilityAccount': this.glAccountLookUp(this.loanProduct.overpaymentLiabilityAccountId, liabilityAccountData),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.paymentChannelToFundSourceMappings = [];
|
||||||
if (this.loanProduct.paymentChannelToFundSourceMappings?.length > 0) {
|
if (this.loanProduct.paymentChannelToFundSourceMappings?.length > 0) {
|
||||||
const paymentTypesData = this.loanProductsTemplate.paymentTypeOptions || [];
|
const paymentTypesData = this.loanProductsTemplate.paymentTypeOptions || [];
|
||||||
this.loanProduct.paymentChannelToFundSourceMappings.forEach((m: any) => {
|
this.loanProduct.paymentChannelToFundSourceMappings.forEach((m: any) => {
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Částka uvolnění",
|
"Release Amount": "Částka uvolnění",
|
||||||
"Daily": "Denně",
|
"Daily": "Denně",
|
||||||
"Monthly": "Měsíční",
|
"Monthly": "Měsíční",
|
||||||
|
"SemiWeeks": "Dvoutýdenní",
|
||||||
"Quarterly": "Čtvrtletně",
|
"Quarterly": "Čtvrtletně",
|
||||||
"Semi-Annual": "Pololetní",
|
"Semi-Annual": "Pololetní",
|
||||||
"Annually": "Každoročně",
|
"Annually": "Každoročně",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Freigabebetrag",
|
"Release Amount": "Freigabebetrag",
|
||||||
"Daily": "Täglich",
|
"Daily": "Täglich",
|
||||||
"Monthly": "Monatlich",
|
"Monthly": "Monatlich",
|
||||||
|
"SemiWeeks": "Zweiwöchentlich",
|
||||||
"Quarterly": "Vierteljährlich",
|
"Quarterly": "Vierteljährlich",
|
||||||
"Semi-Annual": "Halbjährlich",
|
"Semi-Annual": "Halbjährlich",
|
||||||
"Annually": "Jährlich",
|
"Annually": "Jährlich",
|
||||||
|
|||||||
@@ -617,6 +617,7 @@
|
|||||||
"Weekly": "Weekly",
|
"Weekly": "Weekly",
|
||||||
"Quarterly": "Quartely",
|
"Quarterly": "Quartely",
|
||||||
"Semi-Annual": "Semi-Annual",
|
"Semi-Annual": "Semi-Annual",
|
||||||
|
"SemiWeeks": "SemiWeeks",
|
||||||
"Annually": "Annually",
|
"Annually": "Annually",
|
||||||
"Daily Balance": "Daily Balance",
|
"Daily Balance": "Daily Balance",
|
||||||
"% Disbursement Amount": "% Disbursement Amount",
|
"% Disbursement Amount": "% Disbursement Amount",
|
||||||
|
|||||||
@@ -1882,6 +1882,7 @@
|
|||||||
"Mobile Number for SMS": "Número de móvil para SMS",
|
"Mobile Number for SMS": "Número de móvil para SMS",
|
||||||
"Monday": "Lunes",
|
"Monday": "Lunes",
|
||||||
"Monthly": "Mensual",
|
"Monthly": "Mensual",
|
||||||
|
"SemiWeeks": "Quincenal",
|
||||||
"Moratorium": "Moratoria",
|
"Moratorium": "Moratoria",
|
||||||
"Multi Row": "Varias filas",
|
"Multi Row": "Varias filas",
|
||||||
"Multiple Credit Entries Allowed": "Se permiten múltiples entradas de crédito",
|
"Multiple Credit Entries Allowed": "Se permiten múltiples entradas de crédito",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Montant de la libération",
|
"Release Amount": "Montant de la libération",
|
||||||
"Daily": "Tous les jours",
|
"Daily": "Tous les jours",
|
||||||
"Monthly": "Mensuel",
|
"Monthly": "Mensuel",
|
||||||
|
"SemiWeeks": "Bihebdomadaire",
|
||||||
"Weekly": "Hebdomadaire",
|
"Weekly": "Hebdomadaire",
|
||||||
"Quarterly": "Trimestriel",
|
"Quarterly": "Trimestriel",
|
||||||
"Semi-Annual": "Semestriel",
|
"Semi-Annual": "Semestriel",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Importo di rilascio",
|
"Release Amount": "Importo di rilascio",
|
||||||
"Daily": "Quotidiano",
|
"Daily": "Quotidiano",
|
||||||
"Monthly": "Mensile",
|
"Monthly": "Mensile",
|
||||||
|
"SemiWeeks": "Bisettimanale",
|
||||||
"Quarterly": "Trimestrale",
|
"Quarterly": "Trimestrale",
|
||||||
"Semi-Annual": "Semiannuale",
|
"Semi-Annual": "Semiannuale",
|
||||||
"Annually": "Annualmente",
|
"Annually": "Annualmente",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "출시 금액",
|
"Release Amount": "출시 금액",
|
||||||
"Daily": "일일",
|
"Daily": "일일",
|
||||||
"Monthly": "월간 간행물",
|
"Monthly": "월간 간행물",
|
||||||
|
"SemiWeeks": "격주 간행물",
|
||||||
"Quarterly": "분기별",
|
"Quarterly": "분기별",
|
||||||
"Semi-Annual": "반년마다",
|
"Semi-Annual": "반년마다",
|
||||||
"Annually": "매년",
|
"Annually": "매년",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Išleidimo suma",
|
"Release Amount": "Išleidimo suma",
|
||||||
"Daily": "Kasdien",
|
"Daily": "Kasdien",
|
||||||
"Monthly": "Kas mėnesį",
|
"Monthly": "Kas mėnesį",
|
||||||
|
"SemiWeeks": "Kas dvi savaites",
|
||||||
"Quarterly": "Kas ketvirtį",
|
"Quarterly": "Kas ketvirtį",
|
||||||
"Semi-Annual": "Pusmetis",
|
"Semi-Annual": "Pusmetis",
|
||||||
"Annually": "Kasmet",
|
"Annually": "Kasmet",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Izlaiduma summa",
|
"Release Amount": "Izlaiduma summa",
|
||||||
"Daily": "Ikdienas",
|
"Daily": "Ikdienas",
|
||||||
"Monthly": "Ikmēneša",
|
"Monthly": "Ikmēneša",
|
||||||
|
"SemiWeeks": "Reizi divās nedēļās",
|
||||||
"Quarterly": "Ceturkšņa",
|
"Quarterly": "Ceturkšņa",
|
||||||
"Semi-Annual": "Pusgada",
|
"Semi-Annual": "Pusgada",
|
||||||
"Annually": "Ik gadu",
|
"Annually": "Ik gadu",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "रिलिज रकम",
|
"Release Amount": "रिलिज रकम",
|
||||||
"Daily": "दैनिक",
|
"Daily": "दैनिक",
|
||||||
"Monthly": "मासिक",
|
"Monthly": "मासिक",
|
||||||
|
"SemiWeeks": "द्विसाप्ताहिक",
|
||||||
"Quarterly": "त्रैमासिक",
|
"Quarterly": "त्रैमासिक",
|
||||||
"Semi-Annual": "अर्ध - वार्षिक",
|
"Semi-Annual": "अर्ध - वार्षिक",
|
||||||
"Annually": "वार्षिक रूपमा",
|
"Annually": "वार्षिक रूपमा",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Valor de liberação",
|
"Release Amount": "Valor de liberação",
|
||||||
"Daily": "Diário",
|
"Daily": "Diário",
|
||||||
"Monthly": "Por mês",
|
"Monthly": "Por mês",
|
||||||
|
"SemiWeeks": "Quinzenal",
|
||||||
"Quarterly": "Trimestralmente",
|
"Quarterly": "Trimestralmente",
|
||||||
"Semi-Annual": "Semestral",
|
"Semi-Annual": "Semestral",
|
||||||
"Annually": "Anualmente",
|
"Annually": "Anualmente",
|
||||||
|
|||||||
@@ -614,6 +614,7 @@
|
|||||||
"Release Amount": "Kiasi cha Kutolewa",
|
"Release Amount": "Kiasi cha Kutolewa",
|
||||||
"Daily": "Kila siku",
|
"Daily": "Kila siku",
|
||||||
"Monthly": "Kila mwezi",
|
"Monthly": "Kila mwezi",
|
||||||
|
"SemiWeeks": "Kila wiki",
|
||||||
"Quarterly": "Kila robo",
|
"Quarterly": "Kila robo",
|
||||||
"Semi-Annual": "Nusu ya Mwaka",
|
"Semi-Annual": "Nusu ya Mwaka",
|
||||||
"Annually": "Kila mwaka",
|
"Annually": "Kila mwaka",
|
||||||
|
|||||||
Reference in New Issue
Block a user