|
| 1 | +# egovernments/digit-ui-module-health-hrms |
| 2 | + |
| 3 | +## Install |
| 4 | + |
| 5 | +```bash |
| 6 | +npm install --save egovernments/digit-ui-module-health-hrms |
| 7 | +``` |
| 8 | + |
| 9 | +## Limitation |
| 10 | + |
| 11 | +```bash |
| 12 | +This Package is more specific to DIGIT-UI's can be used across mission's |
| 13 | +``` |
| 14 | + |
| 15 | +## Usage |
| 16 | + |
| 17 | +After adding the dependency make sure you have this dependency in |
| 18 | + |
| 19 | +```bash |
| 20 | +frontend/micro-ui/web/package.json |
| 21 | +``` |
| 22 | + |
| 23 | +```json |
| 24 | +"@egovernments/digit-ui-module-health-hrms" :"0.0.1", |
| 25 | +``` |
| 26 | + |
| 27 | +then navigate to App.js |
| 28 | + |
| 29 | +```bash |
| 30 | + frontend/micro-ui/web/src/App.js |
| 31 | +``` |
| 32 | + |
| 33 | +```jsx |
| 34 | +/** add this import **/ |
| 35 | + |
| 36 | +import { initHrmsComponents } from "egovernments/digit-ui-module-health-hrms" |
| 37 | + |
| 38 | +/** inside enabledModules add this new module key **/ |
| 39 | + |
| 40 | +const enabledModules = ["HRMS"]; |
| 41 | + |
| 42 | +/** inside init Function call this function **/ |
| 43 | + |
| 44 | +const initDigitUI = () => { |
| 45 | + initHrmsComponents(); |
| 46 | +}; |
| 47 | + |
| 48 | +``` |
| 49 | + |
| 50 | +## List of features available in this package were as follows |
| 51 | + |
| 52 | +1. Implement User create and edit functionality. |
| 53 | +2. Implement Campaign assign and edit functionality. |
| 54 | +3. Enable Activate/Deactivate user functionality. |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | +### Contributors |
| 59 | + |
| 60 | +- [ramkrishna-egov](https://github.com/ramkrishna-egov) |
| 61 | +- [pitabash-eGov](https://github.com/pitabash-eGov) |
| 62 | + |
| 63 | +## License |
| 64 | + |
| 65 | +[MIT](https://choosealicense.com/licenses/mit/) |
| 66 | + |
| 67 | +## Documentation |
| 68 | + |
| 69 | +Documentation Site (https://core.digit.org/guides/developer-guide/ui-developer-guide/digit-ui) |
| 70 | + |
| 71 | +[Microplan Module Documentation](https://docs.digit.org/public-health/v1.7/setup/configuration/ui-configuration) |
| 72 | + |
| 73 | +## Maintainer |
| 74 | + |
| 75 | +- [pitabash-eGov](https://github.com/pitabash-eGov) |
| 76 | + |
| 77 | + |
| 78 | +### Published from DIGIT Frontend |
| 79 | +DIGIT Frontend Repo (https://github.com/egovernments/Digit-Frontend/tree/master) |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
0 commit comments