diff --git a/jdav_web/finance/models.py b/jdav_web/finance/models.py index 86d369a..4b8c6ba 100644 --- a/jdav_web/finance/models.py +++ b/jdav_web/finance/models.py @@ -289,6 +289,11 @@ class Statement(CommonModel): """Returns the bills that are marked for reimbursement by the finance officer""" return [bill for bill in self.bill_set.all() if bill.costs_covered] + @property + def bills_without_proof(self): + """Returns the bills that lack a proof file""" + return [bill for bill in self.bill_set.all() if not bill.proof] + @property def total_bills_theoretic(self): return sum([bill.amount for bill in self.bill_set.all()]) diff --git a/jdav_web/finance/templates/admin/overview_submitted_statement.html b/jdav_web/finance/templates/admin/overview_submitted_statement.html index 309fa36..34d69f8 100644 --- a/jdav_web/finance/templates/admin/overview_submitted_statement.html +++ b/jdav_web/finance/templates/admin/overview_submitted_statement.html @@ -134,6 +134,7 @@ Once their proposal was approved, the ljp contributions of should be paid to:{% {% endif %} +
{% blocktrans %}By submitting the given seminar report, you will receive LJP contributions. You have @@ -141,6 +141,19 @@ cost plan! submit the LJP-Proposal within 3 weeks after your excursion and have it approved by the finance office. {% endblocktrans %}
++ {% blocktrans %}The LJP contributions are configured to be paid to:{% endblocktrans %} +
| + | {% trans "IBAN valid" %} | + +
|---|---|
| {{ memberlist.statement.ljp_to.name }} | +{{ memberlist.statement.ljp_to.iban_valid|render_bool }} | +
{% blocktrans %}By submitting a seminar report, you may apply for LJP contributions. In this case,