add emp_id in mw sales report
This commit is contained in:
parent
c54ada3aec
commit
9885e7d3c3
@ -2,7 +2,7 @@
|
|||||||
<mat-card>
|
<mat-card>
|
||||||
<div fxLayout="row" fxLayoutAlign="start center" class="mb-1">
|
<div fxLayout="row" fxLayoutAlign="start center" class="mb-1">
|
||||||
<div class="ml-xs mr-xs" style="width: 100%;">
|
<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>
|
<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">
|
<td mat-cell *matCellDef="let row">
|
||||||
<span *ngIf="row.createdon" mat-line> {{row.createdon | date: 'dd-MM-yyyy hh:mm a'}}</span> </td>
|
<span *ngIf="row.createdon" mat-line> {{row.createdon | date: 'dd-MM-yyyy hh:mm a'}}</span> </td>
|
||||||
</ng-container>
|
</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">
|
<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">
|
||||||
|
|||||||
@ -43,6 +43,7 @@ export class MisReportsComponent implements OnInit {
|
|||||||
'officer_name',
|
'officer_name',
|
||||||
'status',
|
'status',
|
||||||
'createdon',
|
'createdon',
|
||||||
|
'emp_id',
|
||||||
'mail_status'
|
'mail_status'
|
||||||
];
|
];
|
||||||
expandStatus: boolean=true;
|
expandStatus: boolean=true;
|
||||||
@ -136,7 +137,7 @@ export class MisReportsComponent implements OnInit {
|
|||||||
pageChange(e) {
|
pageChange(e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
searchPanel(){
|
searchPanel(){
|
||||||
this.Loading=true;
|
this.Loading=true;
|
||||||
this.reportform.value.from_date=this.pipe.transform(this.reportform.value.from_date,'yyyy-MM-dd')
|
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')
|
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) { }
|
constructor(private _http:HttpClient) { }
|
||||||
|
|
||||||
salesPDMisReport(params): Observable<any>{
|
salesPDMisReport(params): Observable<any>{
|
||||||
|
|
||||||
return this._http.post(api_url+'salesPDMisReport',params)
|
return this._http.post(api_url+'salesPDMisReport',params)
|
||||||
}
|
}
|
||||||
|
|
||||||
advancedFilter(params): Observable<any>{
|
advancedFilter(params): Observable<any>{
|
||||||
|
|
||||||
return this._http.post(api_url+'filterSalesPDList',{"records":params})
|
return this._http.post(api_url+'filterSalesPDList',{"records":params})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user