add emp_id in mw sales report
This commit is contained in:
parent
c54ada3aec
commit
9885e7d3c3
@ -2,7 +2,7 @@
|
||||
<mat-card>
|
||||
<div fxLayout="row" fxLayoutAlign="start center" class="mb-1">
|
||||
<div class="ml-xs mr-xs" style="width: 100%;">
|
||||
<mat-card-title><span>MW Sales PD MIS Report </span>
|
||||
<mat-card-title><span>MW Sales PD MIS Report</span>
|
||||
|
||||
<button class="btn_export" mat-raised-button color="primary" (click)="exp.exportTable('xlsx',{fileName:'Sales PD MIS Report'})" [disabled]="dataLength == 0 ? true : false || dataLength == -1 ? true : false" >Excel Export</button>
|
||||
|
||||
@ -133,6 +133,11 @@
|
||||
<td mat-cell *matCellDef="let row">
|
||||
<span *ngIf="row.createdon" mat-line> {{row.createdon | date: 'dd-MM-yyyy hh:mm a'}}</span> </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="emp_id">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>Emp ID</th>
|
||||
<td mat-cell *matCellDef="let row">
|
||||
<span *ngIf="row.mail_status" mat-line> {{row.smc_emp_code}}</span> </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="mail_status">
|
||||
<th mat-header-cell *matHeaderCellDef mat-sort-header>Mail Status</th>
|
||||
<td mat-cell *matCellDef="let row">
|
||||
|
||||
@ -43,6 +43,7 @@ export class MisReportsComponent implements OnInit {
|
||||
'officer_name',
|
||||
'status',
|
||||
'createdon',
|
||||
'emp_id',
|
||||
'mail_status'
|
||||
];
|
||||
expandStatus: boolean=true;
|
||||
@ -136,7 +137,7 @@ export class MisReportsComponent implements OnInit {
|
||||
pageChange(e) {
|
||||
console.log(e);
|
||||
}
|
||||
searchPanel(){
|
||||
searchPanel(){
|
||||
this.Loading=true;
|
||||
this.reportform.value.from_date=this.pipe.transform(this.reportform.value.from_date,'yyyy-MM-dd')
|
||||
this.reportform.value.to_date=this.pipe.transform(this.reportform.value.to_date,'yyyy-MM-dd')
|
||||
|
||||
@ -15,10 +15,12 @@ export class SalesPdService {
|
||||
constructor(private _http:HttpClient) { }
|
||||
|
||||
salesPDMisReport(params): Observable<any>{
|
||||
|
||||
return this._http.post(api_url+'salesPDMisReport',params)
|
||||
}
|
||||
|
||||
advancedFilter(params): Observable<any>{
|
||||
|
||||
return this._http.post(api_url+'filterSalesPDList',{"records":params})
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user