Rename Buyer(controller-> confusing with model) + when user is created,
buyer too
change seller points enabled
added orderItem to jsroutes (lost in merge)
add orderItem in jsrotes (lost in merge)
buyer finder (using userID)
buy: Attribute itemId deleted (just for now-> route problem with
parameters)
generating buyorder with real buyer
showing real buyer points
showing real points in buyer profile
buyItem view styles fixes
when generatin buyorder-> consumes usedpoints
onpaymentsuccess->addspoints to buyer
Enhances Home items layout.
Fix BuyItem. Set itemId as param in url.
BugFix: If item to buy not found, return badrequest.
Makes action's div margins equal 0px
Refactors buyItem view (pointsEnabled) and gets wired Buy functionality.
Removes unused variable pointsAvailable.
Fixes bad import.
Moves controller from routing file to their own file, controllers.js.
Moves filters from routing file to their own file, filters.js.
Fixes buy button and refactors style of item-thumb.
Merges buyerHome.