Commit graph

82 commits

Author SHA1 Message Date
Nico Schottelius
11de455d23 begin to add pdf view of bill into admin 2020-06-21 23:46:26 +02:00
Nico Schottelius
126d9da764 Use quantity instead of usage_count 2020-06-21 16:42:55 +02:00
Nico Schottelius
8a17ee6de5 Include BillRecords in the admin 2020-06-21 16:08:00 +02:00
Nico Schottelius
721472b416 Fix constraint to active = True 2020-06-21 14:45:05 +02:00
Nico Schottelius
1e68539ed8 remove uuid primary key
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-06-21 14:35:12 +02:00
Nico Schottelius
8decfe1b16 Phase in admin, remove uuid from bills 2020-06-21 13:46:54 +02:00
Nico Schottelius
a3f3ca8cf9 in the middle of restructering 2020-05-24 13:45:03 +02:00
Nico Schottelius
5d1eaaf0af Add new models backup - before major refactoring 2020-05-24 12:46:11 +02:00
Nico Schottelius
bcd141730d convert recurring period into an integerfield
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-05-23 23:38:34 +02:00
Nico Schottelius
15535433e8 begin to change to day based differences
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-05-23 23:32:45 +02:00
Nico Schottelius
18b862c2e1 fix syntax errors 2020-05-23 23:08:59 +02:00
Nico Schottelius
b8652c921e Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-05-23 21:33:04 +02:00
Nico Schottelius
8bbcc5df5f ++dev 2020-05-23 21:32:56 +02:00
Nico Schottelius
0202f80a37 in between pay commit 2020-05-23 21:23:06 +02:00
Nico Schottelius
ec447e0dc4 Add support for primary address in user.
Closes #35

Fixes #35
2020-05-10 21:47:44 +02:00
Nico Schottelius
dc7a465a8c Fix exception if first order does not have billing address 2020-05-10 14:22:09 +02:00
65440ab2ef Add depends_on relation on orders 2020-05-08 16:47:32 +02:00
d794b24c86 Make VM order-able again 2020-05-08 16:31:33 +02:00
67af7b5465 Add missing billnico migration 2020-05-08 11:43:01 +02:00
beb5bd7ee4 Fix existing uncloud_pay tests 2020-05-08 11:33:59 +02:00
74e2168529 Fix floating-point issue on bills (Fix #31) 2020-05-08 11:13:11 +02:00
444d6ded28 Move AMOUNT_* and COUNTRIES to uncloud_pay/init.py 2020-05-08 10:56:03 +02:00
cbba1f4169 Add admin bill generation endpoint 2020-05-08 10:42:04 +02:00
d47c94ba84 Implement non-destructive order updates 2020-05-08 10:07:44 +02:00
89e853b490 Add order termination logic 2020-05-08 09:31:46 +02:00
Nico Schottelius
1b97fc8fc7 Merge branch 'master' of code.ungleich.ch:uncloud/uncloud 2020-05-07 20:22:49 +02:00
a086d46136 Allow bill download from admin bill endpoint 2020-05-07 15:45:04 +02:00
ae2bad5754 Generate bill PDFs from /my/bill 2020-05-07 15:38:49 +02:00
3874165189 Fix bill generation 2020-05-07 14:24:04 +02:00
56d98cbb55 Implement Orders/Bills permissions, unpaid bill views 2020-05-07 13:12:38 +02:00
718abab9d2 Add make-admin command to uncloud_auth 2020-05-07 12:45:06 +02:00
95d43f002f Move django-based uncloud to top-level 2020-05-07 12:12:35 +02:00