Commit graph

2213 commits

Author SHA1 Message Date
Thomas Steen Rasmussen ac5f31ef93 move watermark to the back please 2016-05-30 23:37:32 +02:00
Thomas Steen Rasmussen 65bb088095 working on invoice styling 2016-05-30 23:27:23 +02:00
Thomas Steen Rasmussen b417592baa set email sender to info@bornhack.dk 2016-05-30 23:13:52 +02:00
Thomas Steen Rasmussen 61b8c21572 add timestamps to invoice worker 2016-05-30 23:05:33 +02:00
Víðir Valberg Guðmundsson 0f6d8944a0 Adding content to the template might help 2016-05-30 22:57:15 +02:00
Víðir Valberg Guðmundsson 700b876fd3 Adding TicketListView 2016-05-30 22:50:43 +02:00
Víðir Valberg Guðmundsson 539b3ee105 Fix product detail template a bit for mobile. 2016-05-30 22:28:17 +02:00
Víðir Valberg Guðmundsson a4b578642d Adding Commonmark and a template tag for that. We're going to use it in the shop app as well, so it's in its own app now (utils). 2016-05-30 21:52:01 +02:00
Víðir Valberg Guðmundsson e8bda33ac3 Adding News app! 2016-05-30 21:36:38 +02:00
Thomas Steen Rasmussen ef1d306617 add download link for invoices to order list 2016-05-30 21:29:18 +02:00
Thomas Steen Rasmussen 065d3f8660 filter filefield by excluding '' 2016-05-30 21:09:07 +02:00
Thomas Steen Rasmussen 740b6276c1 fix order/invoice errors in invoice worker 2016-05-30 20:57:26 +02:00
Víðir Valberg Guðmundsson 8737c2f8ad Adding breadcrumbs 2016-05-30 20:56:16 +02:00
Thomas Steen Rasmussen 55fccf54fe attach file contents, not the file object 2016-05-30 20:50:39 +02:00
Thomas Steen Rasmussen 8a499ab6de missing import 2016-05-30 20:39:54 +02:00
Thomas Steen Rasmussen 5cf5750e1b accidently removed pdf archive path from settings 2016-05-30 20:35:48 +02:00
Thomas Steen Rasmussen 0b4426b3d3 a few more fixes for the new invoice generation 2016-05-30 20:30:52 +02:00
Thomas Steen Rasmussen 23b1b5e350 migration for previous commit 2016-05-30 20:24:49 +02:00
Thomas Steen Rasmussen ac4444f070 add MEDIA_ROOT to base.py 2016-05-30 20:22:47 +02:00
Thomas Steen Rasmussen a91ed3bc5c working on invoice upload stuff 2016-05-30 20:15:39 +02:00
Víðir Valberg Guðmundsson 8981f0a387 Html design is hard... 2016-05-30 19:59:12 +02:00
Thomas Steen Rasmussen 2fdfacc4d7 switch to using a filefield to save the invoice pdf 2016-05-30 19:49:44 +02:00
Víðir Valberg Guðmundsson 475f996a02 Products should be viewable when not logged in. 2016-05-30 19:27:03 +02:00
Víðir Valberg Guðmundsson c214036c51 Doing previous orders button a bit more prominent 2016-05-30 19:27:03 +02:00
Thomas Steen Rasmussen e9adcdd1cf move PDF letterhead path to env 2016-05-30 18:49:53 +02:00
Thomas Steen Rasmussen f33470034d missing import 2016-05-30 18:41:25 +02:00
Thomas Steen Rasmussen a4dd75e5c8 open in binary mode when saving files to archive 2016-05-30 18:39:05 +02:00
Thomas Steen Rasmussen 349cc325d7 use print here, we are selfless 2016-05-30 18:35:55 +02:00
Víðir Valberg Guðmundsson d12ab4444a Fix #16 2016-05-30 18:29:44 +02:00
Víðir Valberg Guðmundsson 2dd8d38d35 Fix #13 and #15 2016-05-30 18:23:19 +02:00
Víðir Valberg Guðmundsson 34fb9537c3 Bump the product box to 350px in height. 2016-05-30 18:23:19 +02:00
Thomas Steen Rasmussen 20ab3eb5d9 typo 2016-05-30 18:21:43 +02:00
Thomas Steen Rasmussen da5b0f0f26 convert to int(), wrap in try/except 2016-05-30 18:18:31 +02:00
Thomas Steen Rasmussen 6f61220363 commit some more invoice stuff 2016-05-30 18:09:32 +02:00
Víðir Valberg Guðmundsson d8a1ec132b Use Order.mark_as_paid() in EpayCallbackView 2016-05-30 18:05:35 +02:00
Víðir Valberg Guðmundsson 02edd45b20 Fix #8 and layout of products 2016-05-30 18:03:54 +02:00
Thomas Steen Rasmussen 878e888219 missing imports 2016-05-30 17:33:02 +02:00
Thomas Steen Rasmussen 3e80c51572 add __str__ method for Order model 2016-05-30 17:32:53 +02:00
Thomas Steen Rasmussen e74783162f migration for previous commit 2016-05-30 17:32:43 +02:00
Thomas Steen Rasmussen 935af5f188 commit a bunch of invoice related stuff - generate pdf invoice, save to archive, email to customer 2016-05-30 16:58:55 +02:00
Thomas Steen Rasmussen aba0596252 show order in __str__ on coinifyapicallback model 2016-05-29 19:55:07 +02:00
Thomas Steen Rasmussen ff94193fcc fix saving of coinify callbacks 2016-05-29 19:53:56 +02:00
Thomas Steen Rasmussen eb04ee94b4 fix returns from coinifycallback 2016-05-29 19:47:44 +02:00
Thomas Steen Rasmussen a6b50c79fc add missing model to CoinifyCallbackView 2016-05-29 19:44:43 +02:00
Thomas Steen Rasmussen a46480c960 missing import 2016-05-29 19:42:10 +02:00
Thomas Steen Rasmussen d6d5ef4f84 migration for previous commit 2016-05-29 19:37:45 +02:00
Thomas Steen Rasmussen 59a66107bb rename CoinfyCallback model to CoinifyAPICallback 2016-05-29 19:33:26 +02:00
Thomas Steen Rasmussen daab6c4019 CoinifyCallback() only needs the secret 2016-05-29 19:29:06 +02:00
Thomas Steen Rasmussen 3c8a1427da move csrf_exempt decorator to dispatch() 2016-05-29 19:21:44 +02:00
Thomas Steen Rasmussen cf46544294 csrf exempt decorator on coinify callback view 2016-05-29 18:45:04 +02:00