Employee Create/Edit

Case : Create

URL- digit-ui/employee/hrms/create

Logged User can able to Create Employee by providing necessary Details

If a user enters a mobile Number which is already exist in the system Then Application will give error message.

Boundary is auto filled with current TenantId . User can able is add Multiple Jurisdictions and Assignments.

SL No

API

ROLE

Access Id

SL No

API

ROLE

Access Id

1

/egov-hrms/employees/_create

HRMS_ADMIN

1750

2

/egov-hrms/employees/_search

HRMS_ADMIN

1752

Primary Files

https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/hrms/src/pages/createEmployee.js

 

case: Edit

URL- digit-ui/employee/hrms/edit/{Employee Id}

Logged User can able to Edit Employee Details. Employee Id is disabled.

 

 

SL No

API

Role

Access Id

SL No

API

Role

Access Id

1.

/egov-hrms/employees/_update

HRMS_ADMIN

1751

Primary Files

https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/hrms/src/pages/EditEmployee/EditForm.js , https://github.com/egovernments/digit-ui-internals/blob/development/packages/modules/hrms/src/pages/EditEmployee/index.js

 

MDMS API

moduleDetails: [ { moduleName: "common-masters", masterDetails: [ { name: "Department", filter: "[?(@.active == true)]" }, { name: "Designation", filter: "[?(@.active == true)]" }, ], }, { moduleName: "tenant", masterDetails: [{ name: "tenants" }], }, { moduleName: "ACCESSCONTROL-ROLES", masterDetails: [{ name: "roles", filter: "$.[?(@.code!='CITIZEN')]" }], }, { moduleName: "egov-location", masterDetails: [{ name: "TenantBoundary" }] }, ]