Table of Contents |
---|
Useful links
- Installation manual
- Building MES from source code - tutorial
- Plugin developement
- Our coding conventions
- Javadoc
- Github repository
Before you start
- Make sure you have JDK8 installed
- Fork https://github.com/qcadoo/mes/
- Build MES using branch update/aclAndJava8 (How to build MES from sources - step by step). Other projects you should build from master branch. Branch dev may be currently unstable - some tests may temporarily fail.
- create branch from master
git checkout -b recruitment - Change hotDeploy=false in file: mes/mes-application/conf/tomcat/app.properties
- Read the comments below
Assignment
...
- Add new model purchase to plugin basic with fields:
- product - product from basic plugin,
- quantity - quantity of product,
- price - price of product,
- date - date with time.
- Add validator which would check if product price is > 0.
- Add validator which would check if product quantity is > 0.
- Add validator which would check if there is no product purchase with the same name product and price.
- Add views for that model with list and add/edit details.
- (OPTIONAL) Add hooks which would set product unit
- add disabled input field next to quantity field in purchase details view
- when product changes, this field also should be updated.
- Add button to ribbon in purchases list or details which will count average price of all purchases or average price of product. The result can be presented in any way (for example as a simple popup or field on the view).
Useful links
- (OPTIONAL) Prepare additional functionality with simple dictionary and two fields: input and output. While the user enters input text, the application rewrites it, and mark words found in the dictionary.Requirements:* prepare a separate subpage (you can use component: staticPage)* allowed words can be stored in an external file or served by the controller in any format* use pure java script or jQuery