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