MW Credit PD MIS Report added two key

This commit is contained in:
venbainfotech 2022-03-18 17:24:35 +05:30
parent 9838fada46
commit dc0697b4fd
2 changed files with 17 additions and 1 deletions

View File

@ -112,6 +112,12 @@
<td mat-cell *matCellDef="let row">
<span *ngIf="row.applicant_name" mat-line>{{row.applicant_name}}</span> </td>
</ng-container>
<ng-container matColumnDef="lender_applicant_id" sticky>
<th mat-header-cell *matHeaderCellDef mat-sort-header>Lender Applicant ID </th>
<td mat-cell *matCellDef="let row">
<span *ngIf="row.lender_applicant_id" mat-line>{{row.lender_applicant_id}}</span> </td>
</ng-container>
<ng-container matColumnDef="credit_pd_type" sticky>
<th mat-header-cell *matHeaderCellDef mat-sort-header>Credit PD Type</th>
@ -138,6 +144,12 @@
<span *ngIf="row.pd_status" mat-line>{{row.pd_status}}</span> </td>
</ng-container>
<ng-container matColumnDef="vendor_status">
<th mat-header-cell *matHeaderCellDef mat-sort-header>Vendor Status</th>
<td mat-cell *matCellDef="let row">
<span *ngIf="row.vendor_status" mat-line>{{row.vendor_status}}</span> </td>
</ng-container>
<ng-container matColumnDef="createdon">
<th mat-header-cell *matHeaderCellDef mat-sort-header>Date</th>
<td mat-cell *matCellDef="let row">

View File

@ -38,13 +38,15 @@ export class SmcCreditComponent implements OnInit {
pageIndex:number=0
displayedColumns = ['serialno',
// 'credit_pd_id',
// 'credit_pd_id',
'credit_pd_sno',
'applicant_name',
'lender_applicant_id',
'credit_pd_type',
'product_abbr',
'officer_name',
'status',
'vendor_status',
'createdon'
//'remarks'
//'add'
@ -169,10 +171,12 @@ export class SmcCreditComponent implements OnInit {
return {
'Reference Number':val.pd_sno,
'Main Loan Applicant':val.applicant_name,
'Lender Applicant ID':val.lender_applicant_id,
'Credit PD Type':val.type_name,
'Product Type':val.abbr,
'Credit Person':val.officer_name,
'Status':val.pd_status,
'Vendor Status':val.vendor_status,
'Date':val.updatedon
//'Remarks':val.mis_report_remarks
}