Commit graph

700 commits

Author SHA1 Message Date
Nico Schottelius
662e706eab begin to fix bill view 2020-06-21 23:54:57 +02:00
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
424ceafbb8 Enhance make-admin to allow making superuser 2020-06-21 14:44:55 +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
3ef19610f3 add script to reset migrations
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-06-21 14:34:48 +02:00
Nico Schottelius
8decfe1b16 Phase in admin, remove uuid from bills 2020-06-21 13:46:54 +02:00
Nico Schottelius
662845128f ++ billing details 2020-06-20 23:47:26 +02:00
Nico Schottelius
95011c2058 Add readme for billing 2020-06-20 22:15:15 +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
caedf874e4 [vpn] add tests 2020-05-20 21:00:08 +02:00
Nico Schottelius
f17f9060b0 [config] add path to chrome 2020-05-17 23:34:13 +02:00
Nico Schottelius
04fac71a85 Merge branch 'master' of code.ungleich.ch:uncloud/uncloud
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
2020-05-17 22:38:49 +02:00
Nico Schottelius
ef76304bae + old stuff 2020-05-17 22:35:25 +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
ca2065a94d gitignore for local settings 2020-05-10 14:37:20 +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
df059fb00d Speed-up CI with pre-built image, add resources directory 2020-05-08 12:15:40 +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
9574d69f4c Move VAT rate CSV out of archive/ 2020-05-08 11:23:09 +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
Nico Schottelius
41a2f18453 In between commit 2020-05-07 20:22:42 +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
268e08c4db Adapt README for SQLite 2020-05-07 12:31:59 +02:00
b8ac99acb6 On more small commit to fix README formatting 2020-05-07 12:25:05 +02:00
221d98af4b Inline CI badges 2020-05-07 12:24:17 +02:00
ebd4e6fa1b Add fancy CI badges to README 2020-05-07 12:23:17 +02:00
b512d42058 Add devel environment setup instructions 2020-05-07 12:21:49 +02:00
1245c191c0 Adapt CI to new structure 2020-05-07 12:13:48 +02:00