You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kompass/jdav_web/finance/migrations
marius.klein cfcde2da3a finance/statement: make `subsidy_to` and `allowance_to` optional (#112)
closes #108

- fields for receivers of allowance `a` and subsidies `s` are not compulsory anymore. If receivers are given, `a` and `s` are payed out for them. `s` can only be payed out in total, disregarding the number of receivers given for `a`.
- In the overview pages (activity and statement), we are now distinguishing between theoretical `a` + `s` and what has been payed out practically. If no receiver was given for either things, it is made clear that nothing is payed out. All combinations of `0`, ..., `n` payed allowances (`n` being number of approved participating YLs) and `0, `1` payed subsidies are possible.
- transaction generation logic adapted accordingly

Reviewed-on: #112
Reviewed-by: Christian Merten <christian@merten.dev>
Co-authored-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
Co-committed-by: marius.klein <marius.klein@alpenverein-heidelberg.de>
11 months ago
..
0001_initial.py migrations: add finance tables and update members 3 years ago
0002_alter_permissions.py multiple: use object level permissions 3 years ago
0003_alter_bill_options_and_more.py multiple: use object level permissions 3 years ago
0004_alter_bill_amount.py finance: alter field 1 year ago
0005_alter_bill_proof.py finance: allow pdfs in proof field 12 months ago
0006_statement_add_allowance_to_subsidy_to.py finance/statement: add selection fields for allowance and subsidies 11 months ago
0007_alter_statement_allowance_to.py finance/statement: make allowance_to optional 11 months ago
0008_alter_statement_allowance_to_and_more.py finance/statement: make `subsidy_to` and `allowance_to` optional (#112) 11 months ago
__init__.py migrations: add finance tables and update members 3 years ago