Commit graph

802 commits

Author SHA1 Message Date
Thomas Steen Rasmussen db597a4a36 use reverse_lazy instead of reverse 2016-05-16 17:07:18 +02:00
Thomas Steen Rasmussen 5be92b46ff add missing get_absolute_url() for Order model 2016-05-16 16:54:11 +02:00
Thomas Steen Rasmussen 3a80691e2c fix epay payment 2016-05-16 16:49:52 +02:00
Thomas Steen Rasmussen f88172cd97 pass pk not orderid 2016-05-16 16:36:15 +02:00
Thomas Steen Rasmussen 2117e80cf6 working on payments 2016-05-16 16:32:02 +02:00
Víðir Valberg Guðmundsson f4be670301 No need for subtotal 2016-05-16 16:20:15 +02:00
Thomas Steen Rasmussen f9cea6cdba missing import 2016-05-16 16:14:49 +02:00
Víðir Valberg Guðmundsson bee6a65ede Prices are with VAT, turning the calculation around. 2016-05-16 16:14:16 +02:00
Víðir Valberg Guðmundsson 9eefc6bdfd Adding subtotal, VAT and total to order. Also redirect to shop index if there are no products. 2016-05-16 16:09:25 +02:00
Víðir Valberg Guðmundsson 373a4cf65b Editing of an order (remove/update products) 2016-05-16 15:44:03 +02:00
Thomas Steen Rasmussen 2287e6dda5 working on epay payment 2016-05-16 15:31:37 +02:00
Víðir Valberg Guðmundsson 68fce085e7 Fixes for when there is no order + adding a new product to the order 2016-05-16 00:20:09 +02:00
Víðir Valberg Guðmundsson 5ed1d3075b Use 'open' instead of 'finalized' 2016-05-16 00:14:45 +02:00
Víðir Valberg Guðmundsson c45a3aa8c9 Getting there! 2016-05-16 00:09:00 +02:00
Víðir Valberg Guðmundsson 326e9d70cd Adding cart with number of items in order to menu 2016-05-14 19:42:25 +02:00
Thomas Steen Rasmussen d423ab54de add form to product detail page 2016-05-14 19:20:47 +02:00
Thomas Steen Rasmussen 65b6465b40 forgot to return a response 2016-05-14 16:34:06 +02:00
Thomas Steen Rasmussen d2fae2480a pk not id 2016-05-14 16:32:42 +02:00
Thomas Steen Rasmussen 447cf0d909 typo==fail 2016-05-14 16:28:54 +02:00
Thomas Steen Rasmussen b55291fe8e fix index regex 2016-05-14 16:26:02 +02:00
Thomas Steen Rasmussen 1ecf55f70c no quotes here 2016-05-14 16:24:10 +02:00
Thomas Steen Rasmussen 452804dca2 .pk not .id 2016-05-14 16:24:03 +02:00
Thomas Steen Rasmussen 5f4889e132 fix url regex for product_detail 2016-05-14 16:11:08 +02:00
Thomas Steen Rasmussen 571e4175e8 use url not reverse in templates 2016-05-13 09:01:52 +02:00
Thomas Steen Rasmussen a061685937 {% load bootstrap3 %} 2016-05-13 08:52:07 +02:00
Thomas Steen Rasmussen c8cf189156 super fix 2016-05-13 08:50:04 +02:00
Thomas Steen Rasmussen fabc583193 add migration 2016-05-13 08:46:40 +02:00
Thomas Steen Rasmussen 55dfa457d2 remove unneeded line 2016-05-13 08:44:31 +02:00
Thomas Steen Rasmussen 1f67035740 forgot to add finalized field to model 2016-05-13 08:37:47 +02:00
Thomas Steen Rasmussen b942d674ef more work on shop 2016-05-13 08:36:56 +02:00
Thomas Steen Rasmussen 62fe63bd03 switch to a regular form 2016-05-12 19:10:46 +02:00
Thomas Steen Rasmussen 82ae2b8c23 more work on shop 2016-05-12 19:08:54 +02:00
Thomas Steen Rasmussen 5b279ff493 fix import 2016-05-12 18:20:31 +02:00
Thomas Steen Rasmussen 2e03f3ed3a missing import 2016-05-12 18:16:25 +02:00
Thomas Steen Rasmussen 29c0696f3f check that this order belongs to this user 2016-05-12 18:14:30 +02:00
Thomas Steen Rasmussen bbee72c67f self.get_object() not self.instance 2016-05-12 18:14:16 +02:00
Thomas Steen Rasmussen 7553df8014 better docstring 2016-05-12 18:10:51 +02:00
Thomas Steen Rasmussen e218c4c6ae missing import 2016-05-12 18:10:36 +02:00
Thomas Steen Rasmussen 0aab582666 typofest 2016 2016-05-12 18:04:58 +02:00
Thomas Steen Rasmussen c16d26c2db typo 2016-05-12 18:02:40 +02:00
Thomas Steen Rasmussen 10d344f6f8 forgot to push a few things before 2016-05-12 10:01:26 +02:00
Thomas Steen Rasmussen 7212cb0081 a bit more work on still unfinished shop 2016-05-12 09:51:35 +02:00
Thomas Steen Rasmussen 7955bdfae1 rename to blockchain instead of altcoin 2016-05-11 08:37:39 +02:00
Víðir Valberg Guðmundsson 5cfcf13e7d We don't only operate on tickets - renaming and refactoring accordingly 2016-05-10 22:20:01 +02:00
Víðir Valberg Guðmundsson b00b3f3156 Fix absolute_url on Ticket to use the right url namespace 2016-05-10 21:20:49 +02:00
Víðir Valberg Guðmundsson 3b44f33e04 Fix formatting of hashstring. 2016-05-10 21:11:42 +02:00
Thomas Steen Rasmussen 83ccef5c7d add vendor folder with coinify sdk files from 9569fa65fc1d65d62d78cf141a54e9ff053885d3
9569fa65fc/coinify_callback.py

https://raw.githubusercontent.com/CoinifySoftware/python-sdk/9569fa65fc1d65d62d78cf141a54e9ff053885d3/coinify_api.py
2016-05-10 21:08:02 +02:00
Víðir Valberg Guðmundsson ce534cff55 No need for select_related on an actual object. 2016-05-10 21:06:39 +02:00
Víðir Valberg Guðmundsson c4a907890c Pass the actual ID and not all kwargs :P 2016-05-10 20:59:27 +02:00
Víðir Valberg Guðmundsson ba201d9cf6 Add callback url. 2016-05-10 20:03:32 +02:00