- added migration
- implemented association in article renting and renting item model
- ref #el
- ref #50
- first shot at fixing the tests
TODO
- write more tests
- fix remaining tests
- ref #50
- many-to-many from article to renting was not correct, fixed
- fixed last failing test
TODO
- Write new tests
- updated my email address in seeds
- added validation to renting item
- close #50
- added price migration
- created price model and associations
- ref #47
- renting- and sale prices are copied from article on create
- added articles and prices to seed
- renamed type attribute in article to category, cause conflicted with rails STI naming convention
- ref #50
- user has new attribute location
- customer has new attribute store, which holds the store the user got registered
- store for every user showed on customer/index
- on create new user store is set to actual logged in users location
- added location and store attribute in seeds
- ref #59
- store is no longer hidden but is now a disabled field
- ref #59
- styled forms, disabled fields have now light gray background
- ref #59
- removed annotation crap
- renting_price and sale_price attribute for RentingItem are now integers
- renting has now methods to calculate total renting and total sale price
- ref #73
- sex is set from associated customer on board- or skiprofile create
- ref #57
- readonly fields in forms have same style as disabled fields
- ref #57
- fixed customer store attr overwrite bug
- ref #75
- z-value is showed on customer index page
- ref #69
- minor view changes
- first steps in view overhaul
- in forms birthday is shown more natural
- added some translations
- customer/index table is clearer formatted