fixed style dropup menu, make calendar responsive
added Purchase model tested and migrated
added validates flat_id to purchase and refactored test model
added purchases to routes
added index method and index view of purchases
finished test of create method of purchase controller
small changes, passed flat script to event.js to flat.js
add edit method in Purchase controller, add edit view in dash board
change index purchase in flat view