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

Do validations in item lending #3

Open
shyaman opened this issue May 3, 2020 · 4 comments
Open

Do validations in item lending #3

shyaman opened this issue May 3, 2020 · 4 comments

Comments

@shyaman
Copy link
Member

shyaman commented May 3, 2020

Dashboard routes are handled in this file
/extensions/content-manager/controllers/ContentManager.js

@namila007
Copy link

we can define regex for each attributes from the content builder

@shyaman
Copy link
Member Author

shyaman commented May 4, 2020

Yeah, also we have to validate values before update the db (ie. before lending an item, the available qty should be >0)

@namila007
Copy link

ah that logic need to be implement in controller level

@shyaman
Copy link
Member Author

shyaman commented May 5, 2020

yes it's the file I have mentioned above.

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