remove remarks
This commit is contained in:
parent
9fd0093453
commit
6518790107
@ -143,18 +143,18 @@
|
|||||||
<td mat-cell *matCellDef="let row">
|
<td mat-cell *matCellDef="let row">
|
||||||
<span *ngIf="row.updatedon" mat-line> {{row.updatedon | date: 'dd-MM-yyyy hh:mm a'}}</span> </td>
|
<span *ngIf="row.updatedon" mat-line> {{row.updatedon | date: 'dd-MM-yyyy hh:mm a'}}</span> </td>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container matColumnDef="remarks">
|
<!-- <ng-container matColumnDef="remarks">
|
||||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>Remarks</th>
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Remarks</th>
|
||||||
<td mat-cell *matCellDef="let row">
|
<td mat-cell *matCellDef="let row">
|
||||||
<span *ngIf="row.updatedon" mat-line> {{row.mis_report_remarks}}</span> </td>
|
<span *ngIf="row.updatedon" mat-line> {{row.mis_report_remarks}}</span> </td>
|
||||||
</ng-container>
|
</ng-container>-->
|
||||||
<ng-container matColumnDef="add">
|
<!--<ng-container matColumnDef="add">
|
||||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>Action</th>
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Action</th>
|
||||||
<td mat-cell *matCellDef="let row">
|
<td mat-cell *matCellDef="let row">
|
||||||
<span *ngIf="row.updatedon" mat-line>
|
<span *ngIf="row.updatedon" mat-line>
|
||||||
<span ><button mat-fab (click)="addRemark(row.pd_id)" class="mr-1 mb-1 hover-icon" color="primary" matTooltip="Add Remarks" matTooltipPosition="above" >
|
<span ><button mat-fab (click)="addRemark(row.pd_id)" class="mr-1 mb-1 hover-icon" color="primary" matTooltip="Add Remarks" matTooltipPosition="above" >
|
||||||
<mat-icon>add</mat-icon></button></span></span> </td>
|
<mat-icon>add</mat-icon></button></span></span> </td>
|
||||||
</ng-container>
|
</ng-container>-->
|
||||||
<!-- <ng-container matColumnDef="mail_status">
|
<!-- <ng-container matColumnDef="mail_status">
|
||||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>Mail Status</th>
|
<th mat-header-cell *matHeaderCellDef mat-sort-header>Mail Status</th>
|
||||||
<td mat-cell *matCellDef="let row">
|
<td mat-cell *matCellDef="let row">
|
||||||
|
|||||||
@ -45,9 +45,9 @@ export class SmcCreditComponent implements OnInit {
|
|||||||
'product_abbr',
|
'product_abbr',
|
||||||
'officer_name',
|
'officer_name',
|
||||||
'status',
|
'status',
|
||||||
'createdon',
|
'createdon'
|
||||||
'remarks',
|
//'remarks'
|
||||||
'add'
|
//'add'
|
||||||
// 'mail_status'
|
// 'mail_status'
|
||||||
];
|
];
|
||||||
expandStatus: boolean=true;
|
expandStatus: boolean=true;
|
||||||
@ -173,8 +173,8 @@ export class SmcCreditComponent implements OnInit {
|
|||||||
'Product Type':val.abbr,
|
'Product Type':val.abbr,
|
||||||
'Credit Person':val.officer_name,
|
'Credit Person':val.officer_name,
|
||||||
'Status':val.pd_status,
|
'Status':val.pd_status,
|
||||||
'Date':val.updatedon,
|
'Date':val.updatedon
|
||||||
'Remarks':val.mis_report_remarks
|
//'Remarks':val.mis_report_remarks
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
@ -302,23 +302,23 @@ export class SmcCreditComponent implements OnInit {
|
|||||||
let selected_date = this.pipe.transform(values, 'yyyy/MM/dd');
|
let selected_date = this.pipe.transform(values, 'yyyy/MM/dd');
|
||||||
this.minDate = new Date(selected_date);
|
this.minDate = new Date(selected_date);
|
||||||
}
|
}
|
||||||
addRemark(pd_id)
|
// addRemark(pd_id)
|
||||||
{
|
// {
|
||||||
|
|
||||||
const dialogRef = this.dialog.open(SmcRemarksComponent, {
|
// const dialogRef = this.dialog.open(SmcRemarksComponent, {
|
||||||
data: { pdid:pd_id},
|
// data: { pdid:pd_id},
|
||||||
disableClose: true,
|
// disableClose: true,
|
||||||
minWidth: '30%',
|
// minWidth: '30%',
|
||||||
maxWidth: '40%',
|
// maxWidth: '40%',
|
||||||
});
|
// });
|
||||||
dialogRef.afterClosed()
|
// dialogRef.afterClosed()
|
||||||
.subscribe(dataresult => {
|
// .subscribe(dataresult => {
|
||||||
//this.viewPdDetails(1,2)
|
|
||||||
this.searchPanel();
|
// this.searchPanel();
|
||||||
});
|
// });
|
||||||
|
|
||||||
|
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user