Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create new adapter class inside web folder #333

Open
aruljames93 opened this issue Feb 6, 2023 · 1 comment
Open

Create new adapter class inside web folder #333

aruljames93 opened this issue Feb 6, 2023 · 1 comment

Comments

@aruljames93
Copy link

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants