Commit Graph

9 Commits (main)

Author SHA1 Message Date
Christian Merten efe20bc721
chore(finance/models): add documentation and test for `validity` (#11)
Currently, the `INVALID_TOTAL` case of the `Statement.validity` method
is tested indirectly via the admin tests and the behavior is hard to
trace back. We therefore add documentation and a targeted test.
1 month ago
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 adc23bc7e0
fix(*): various bugs discovered by tests 4 months ago
Christian Merten 5efdbcb63c
chore(*): add various tests 4 months ago
Christian Merten 3003bbe67f
fix(finance/admin): pass participant_count only once 4 months ago
Christian Merten b613dc70c2
chore(finance/tests): add rules tests 4 months ago
Christian Merten 355aad61c2
chore(finance/tests): add more admin tests 4 months ago
Christian Merten 396ea6f796
chore(finance/tests): reorganise and add admin tests 4 months ago