Commit 25052796 authored by ari_darmawan's avatar ari_darmawan

clear checked field export

parent d5cd528d
...@@ -107,6 +107,9 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -107,6 +107,9 @@ export class AdminDashboardReportComponent implements OnInit {
this.TicketReportRequest.page = 1; this.TicketReportRequest.page = 1;
this.TicketReportRequest.perpage = 10; this.TicketReportRequest.perpage = 10;
if(this._SP.getUserInformation.values.team_id == this.Env.Team.ServiceReport) this.TicketReportRequest.user_id = null; if(this._SP.getUserInformation.values.team_id == this.Env.Team.ServiceReport) this.TicketReportRequest.user_id = null;
for (let i=0; i<this.fieldExportReport.length; i++) {
this.fieldExportReport[i].value = false;
}
// this.GettingTicketReportDataAPI(this.TicketReportRequest) // this.GettingTicketReportDataAPI(this.TicketReportRequest)
} }
...@@ -220,7 +223,9 @@ export class AdminDashboardReportComponent implements OnInit { ...@@ -220,7 +223,9 @@ export class AdminDashboardReportComponent implements OnInit {
// if (!pwa || pwa.closed || typeof pwa.closed == 'undefined') { // if (!pwa || pwa.closed || typeof pwa.closed == 'undefined') {
// AratakaConfig.Alert.showAlert('Please disable your Pop-up blocker and try again.','alert-danger',2000) // AratakaConfig.Alert.showAlert('Please disable your Pop-up blocker and try again.','alert-danger',2000)
// } // }
for (let i=0; i<this.fieldExportReport.length; i++) {
this.fieldExportReport[i].value = false;
}
AratakaConfig.LoadingPage.hideLoading() AratakaConfig.LoadingPage.hideLoading()
}, },
(err: HttpErrorResponse) => { (err: HttpErrorResponse) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment