src/app/modules/shared/services/on-demand-report/on-demand-report.service.ts
Properties |
Methods |
constructor(http: HttpClient, config: ConfigService)
|
|||||||||
Parameters :
|
canRequestReport |
canRequestReport(submittedDate: any, batchEndDate: any)
|
checks if user can request for generation of reports
Returns :
boolean
|
getReport | ||||||||||||
getReport(tag: string, requestId: string)
|
||||||||||||
function to get report details based on tag and request id
Parameters :
Returns :
any
|
getReportList | ||||||||
getReportList(tag: string)
|
||||||||
function to fetch report list from data set server
Parameters :
Returns :
any
|
getSummeryReports | ||||||
getSummeryReports(request: any)
|
||||||
function to get summary reports data
Parameters :
Returns :
any
|
isInProgress |
isInProgress(reportListData: any, reportStatus: any)
|
check if report is in progress on not
Returns :
boolean
|
submitRequest | ||||||
submitRequest(request: any)
|
||||||
function to submit request for generation of report
Parameters :
Returns :
any
|
Public config |
Type : ConfigService
|
Public http |
Type : HttpClient
|