Employee: Water and Sewerage Modify Application Details
Objective
Provide Employee to purpose workflow actions.
Same screen is used for both application details and modify application details.
Based on the conditions, we are showing the details here.
Modify Application Details:
On click on application number from inbox/search screen/connection search, it will route to application details screen.
Search call is made before render the screen and details populated based on the search response.
Hook Details for application Details search:
let { isLoading, isError, data: applicationDetails, error } = Digit.Hooks.ws.useWSModifyDetailsPage(t, tenantId, applicationNumber, serviceType, userInfo, { privacy: Digit.Utils.getPrivacyObject() });
Modify Application Details Screen:
Timeline View:
It is common for all modules, find the path here: https://github.com/egovernments/DIGIT-Dev/blob/develop/frontend/micro-ui/web/micro-ui-internals/packages/modules/templates/ApplicationDetails/index.js
Downloads:
Application:
Method Reference:
const applicationDownloadObject = { order: 3, label: t("WS_APPLICATION"), onClick: handleDownloadPdf, };
Localisation :
Localisation keys are added under the ‘rainmaker-ws’ locale module.
Water & Sewerage workflow:
Role | Action | Next State | Status |
---|---|---|---|
Citizen/ Counter Employee/WS_CEMP/ SW_CEMP | INITIATE | INITIATED | INITIATED |
WS_APPROVER / SW_APPROVER | VERIFY &FORWARD | PENDINGAPPROVAL | Pending for APproval |
WS_APPROVER / SW_APPROVER | APPROVE | Approved | Approved |
WS_APPROVER / SW_APPROVER | REJECT | Rejected | Rejected |
Employee Roles and Credentials:
Please find the document attached below:
https://docs.google.com/spreadsheets/d/15p6dmlVUXvopvzyyG06ty2rxtffSMQxN5F2l2FSWoFA/edit#gid=0
API Call Role Action mapping:
S.No. | API | Action id | Roles |
---|---|---|---|
1 |
|
|
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 | / |
|
|
13 |
|
|
|