Commit graph

225 commits

Author SHA1 Message Date
Benjamin Cousaert 20c6597336 Remove views from user, because devise 2014-12-09 17:22:40 +01:00
Benjamin Cousaert da22af605f Add devise to users 2014-12-09 17:17:11 +01:00
ohsab 18f8f32ee4 Merge branch 'master' of https://github.com/ZeusWPI/Tab 2014-12-09 17:07:22 +01:00
ohsab 44a7b8630d application helper changed 2014-12-09 17:07:17 +01:00
Benjamin Cousaert 20d968a7ef merge conflict 2014-12-09 14:45:18 +01:00
Tom Naessens 6cbe661a6d Added flashes to products 2014-12-09 14:42:50 +01:00
Tom Naessens 1a50fb5cf2 Make things a lot more beautiful 2014-12-09 14:39:27 +01:00
Tom Naessens 68d1e235fc Merge branch 'master' of github.com:ZeusWPI/Tab 2014-12-09 13:44:36 +01:00
Tom Naessens fe5f4949e6 Remove unused links from footer 2014-12-09 13:44:34 +01:00
Tom Naessens a646429565 Use decent bootstrap errors 2014-12-09 13:41:35 +01:00
ohsab db37c694aa color btn 2014-12-09 13:10:36 +01:00
Benjamin Cousaert a52f74d1a1 Remove admins 2014-12-09 13:10:15 +01:00
ohsab b064cb21ef knopjes 2014-12-09 12:08:49 +01:00
ohsab 98b4759758 new overview 2014-12-09 12:01:25 +01:00
ohsab 6c50375aba Merge branch 'master' of https://github.com/ZeusWPI/Tab 2014-12-09 11:38:19 +01:00
ohsab 26cb04dd33 overview button 2014-12-09 11:38:10 +01:00
Benjamin Cousaert c06982e643 Fix controller permitted parameters 2014-12-09 11:18:54 +01:00
Benjamin Cousaert 6305d3327a install cancan 2014-12-09 11:18:18 +01:00
Benjamin Cousaert c36cc797ac Merge branch 'master' of github.com:ZeusWPI/Tab 2014-12-09 10:57:46 +01:00
Benjamin Cousaert ee5ebd7ba4 Add payment after order create for users 2014-12-09 10:57:38 +01:00
ohsab ec3873c8a3 new product price 2014-12-09 10:38:22 +01:00
Benjamin Cousaert 12b3a68972 Add total price to order form 2014-12-09 09:43:21 +01:00
Benjamin Cousaert 3e7658df9f Add devise for admins 2014-12-09 07:05:30 +01:00
Benjamin Cousaert b30b527650 Small commit, for iasoon <3 2014-12-08 17:56:48 +01:00
Benjamin Cousaert ebf2275c94 Remove purchase_price from products and rename sale_price 2014-12-08 17:03:54 +01:00
Benjamin Cousaert b9e42b8bc1 Move logic to model 2014-12-08 11:41:38 +01:00
Benjamin Cousaert 5efef27454 remove some sql queries 2014-12-06 17:51:41 +01:00
Benjamin Cousaert c06c8cacd2 Add index action and view for orders 2014-12-06 12:03:08 +01:00
Benjamin Cousaert c3729a5964 new order with decent rails 2014-12-05 16:15:07 +01:00
Benjamin Cousaert 7ddd1d5775 Fix bug with count for products in orders 2014-12-05 07:55:28 +01:00
Benjamin Cousaert 4e4f0c32a2 Add avatar to product edit form and use recources in routes 2014-12-05 07:24:27 +01:00
Benjamin Cousaert 552f811fea Add paperclip to gems and avatar to products 2014-12-04 20:32:31 +01:00
Benjamin Cousaert 182932abf5 Add Annotate Gem and some more validations 2014-12-04 19:50:02 +01:00
Benjamin Cousaert 9e598c5751 Fix controller orders create action 2014-12-04 19:28:21 +01:00
Benjamin Cousaert 95aaca802f Fix view of orders/new 2014-12-04 17:02:08 +01:00
Benjamin Cousaert cb17fdc1a7 Merge branch 'master' of github.com:ZeusWPI/Tab 2014-11-29 11:06:34 +01:00
Benjamin Cousaert 3553901b7c Add counter for number of each product in order 2014-11-29 11:06:22 +01:00
ohsab a52c50531e clean up 2014-11-26 12:01:22 +01:00
ohsab b2b9a7a188 clean up 2014-11-26 11:58:51 +01:00
Benjamin Cousaert 64113790cf belongs_to a single instance of model 2014-11-25 21:34:29 +01:00
ohsab 1c0a313fdb header 2014-11-25 16:42:07 +01:00
ohsab fd05ea2d64 header 2014-11-25 16:40:22 +01:00
Benjamin Cousaert c986683273 fix routes 2014-11-25 16:38:08 +01:00
ohsab e2e9582211 HEADER IS GEFIXED SILOX STOP ME HATEN 2014-11-25 16:25:00 +01:00
ohsab 9309ae60dc user show 2014-11-25 16:18:11 +01:00
ohsab 7d082a64a7 Merge branch 'master' of https://github.com/ZeusWPI/Tab 2014-11-25 16:16:21 +01:00
ohsab 45d10ca9f7 routes overview fix 2014-11-25 16:13:04 +01:00
ohsab 5c07c0b2cc routes fixed, orders need to be nested 2014-11-25 15:27:12 +01:00
Benjamin Cousaert 60bf8030e5 Add many to many relation between orders and products 2014-11-25 14:27:27 +01:00
ohsab 2575133ce2 product edit fixed 2014-11-25 13:41:22 +01:00