gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
565 stars 367 forks source link

Create new adapter class inside web folder #333

Open aruljames93 opened 1 year ago

aruljames93 commented 1 year ago

hi i am trying to create leave management in admin panel for that i need to create a new adapter class inside web folder i created it and run "gulp" command but it shows "LeaveTypeAdapter is not defined" and "modJs is not defined" i imported "AdapterBase" in adapter class and created index.js file also Is there a way to fix that issue?

ddave001 commented 1 year ago

Starting from v32.4.0 there is a clear way to create extensions for IceHrm. You can use the command php ice create:extension to create the boilerplate code for a new extension and start adding your own implementation. Please check here: https://github.com/gamonoid/icehrm#extend-icehrm-with-custom-extensions.

There are some examples in generated code to see how to communicate with the backend either via API or controllers. We use ant design for the frontend so you can keep the UI uniform between your extension and existing extensions.