Commit Graph

26 Commits (5d4f29be89616d4fd65efa369140a9c241573fdc)

Author SHA1 Message Date
Christian Merten 5d4f29be89
feat(finance/admin): unified statement view (#6)
This PR replaces the separate admin views for unsubmitted, submitted and
confirmed statements by one common view. To distinguish the state, we
now display a colored badge in the changelist.

The default permissions for the `Standard` group are changed so that
normal users can continue to view statements they are related to when
these are submitted or confirmed.
1 month ago
Christian Merten 69a4560ea4
refactor(finance/models): replace `submitted` and `confirmed` by a `status` field (#3)
This is in preparation for a [new statement admin
view](#179).
2 months ago
Christian Merten 068dfaa6c8
chore(finance/admin): mark unreachable code as no cover 3 months ago
Christian Merten 3003bbe67f
fix(finance/admin): pass participant_count only once 4 months ago
Christian Merten 0eedc3ecf9
feat(finance): send statement summary to finance office 7 months ago
marius.klein f213e11772 feat(finance): creation of receipts for confirmed statements and payment of LJP contributions (#150)
Confirmed statements now come with automatically generated PDF receipts used for documenting all issued payments.

This PR also adds generation of transactions for LJP contributions and their validation.

closes #92

Co-authored-by: mariusrklein <47218379+mariusrklein@users.noreply.github.com>
Reviewed-on: #150
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>
8 months ago
Christian Merten 33ab4e481d
fix(finance/admin): check existence and permission in finance admin views 8 months ago
marius.klein e7dcbb47ab finance/statement: show IBAN validity in submit views (#104)
* Add new attribute `iban_valid` to `Member`.
* Submit pages of regular expenses and activity expenses now include an overview which people with expenses have a valid IBAN.
* Add a note that IBAN validity should be checked manually before submitting.

Right now, no technical barriers are in place that prevent missing/wrong IBANs when a statement is submitted. This is intentional to preserve maximal flexibility.

In a follow-up PR, one could add custom warning messages on top of page when some IBANs are invalid.

Reviewed-on: #104
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
Christian Merten 0960646d1f
finance/tests: adapt to new logic with allowance_to and subsidy_to 11 months ago
Christian Merten 5d0aa18dde
finance: adapt to allowance_to and subsidy_to
Use the new `allowance_to` and `subsidy_to` fields in statement validation. The
night and travel costs have to be transferred to the person listed as `subsidy_to`,
the allowance has to be paid to the persons listed in `allowance_to`.
11 months ago
Christian Merten a749aca7a4
finance: allow pdfs in proof field 12 months ago
Christian Merten 92e77e8b3c
finance: fix permissions 1 year ago
Christian Merten 0a1d85e924
finance: fix permissions on submitted statement 1 year ago
Christian Merten 302565d5f5
finance/bill: rename 1 year ago
Christian Merten 79b5389107
members/excursion: add finance overview 1 year ago
Christian Merten 8a58a43bcd
finance: catch if bills have no set paid_by field 1 year ago
Christian Merten 0220ed36fd
finance/admin: add statement unconfirm button 1 year ago
Christian Merten 7c7c67e496
finance/admin: show bills and transactions on confirmed statements 1 year ago
Christian Merten 1f857e4fa3
finance/admin: allow change on submitted statements
gitea/kompass/pipeline/head There was a failure building this commit Details
1 year ago
Christian Merten 7255190153
multiple: use object level permissions 3 years ago
Christian Merten 62e2a40d07
members: add translations for permissions, implemenet may_delete, filter unsubmitted statements default queryset by permissions 3 years ago
Christian Merten 6076a9c820
finance: move some constants to settings, fix bug in overview 3 years ago
Christian Merten 2eb664e35e
finance: fix some translations, add statement submit button for excursions 3 years ago
Christian Merten 5c8ebbbbf6
finance: improve confirm overview, polish admin pages 3 years ago
Christian Merten b8daed826d
finance: add overview, transaction generation and reduction, further fields 3 years ago
Christian Merten cafc7f4f97
finance: add initial structre, including models and admin page, add some customization 3 years ago