We add a base template for all latex documents to unify the desings and improve maintainability. Also
the table definitions are simplified fixing the various width issues.
field=models.ForeignKey(blank=True,help_text='The person that should receive the ljp contributions for the participants. Should be only selected if an ljp request was submitted.',null=True,on_delete=django.db.models.deletion.SET_NULL,related_name='receives_ljp_for_statements',to='members.member',verbose_name='Pay ljp contributions to'),
\multicolumn{2}{l}{Zuschuss Übernachtung und Anreise für alle Jugendleiter*innen}&{{ statement.subsidy_to.name|esc_all }}&{{ statement.total_subsidies }} €\\
{% endif %}
\midrule
\multicolumn{3}{l}{\textbf{Summe Zuschüsse und Aufwandsentschädigung Jugendleitende}}&\textbf{{{ statement.total_staff }}}€\\
{%endif %}
{% if statement.ljp_to %}
\midrule
LJP-Zuschuss für die Teilnehmenden &&{{ statement.ljp_to.name|esc_all }}&{{ statement.paid_ljp_contributions|esc_all }} €\\
{% endif %}
{% if statement.ljp_to or statement.bills_covered and excursion.approved_staff_count > 0 %}
"""Check if the `allowance_to` and `subsidy_to` fields are compatible with
"""Check if the `allowance_to` and `subsidy_to` fields are compatible with
@ -922,7 +923,7 @@ class StatementOnListInline(CommonAdminInlineMixin, nested_admin.NestedStackedIn
extra=1
extra=1
description=_('Please list here all expenses in relation with this excursion and upload relevant bills. These have to be permanently stored for the application of LJP contributions. The short descriptions are used in the seminar report cost overview (possible descriptions are e.g. food, material, etc.).')
description=_('Please list here all expenses in relation with this excursion and upload relevant bills. These have to be permanently stored for the application of LJP contributions. The short descriptions are used in the seminar report cost overview (possible descriptions are e.g. food, material, etc.).')
_("The excursion is configured to claim LJP contributions. In that case, for all bills, a proof must be uploaded. Please correct this and try again."))
{% blocktrans %}By submitting the given seminar report, you will receive LJP contributions.
You have documented interventions worth of {{ total_seminar_days }} seminar days for {{ participant_count }} participants.
This results in a total contribution of {{ ljp_contributions }}€.
To receive them, you need to submit the LJP-Proposal within 3 weeks after your excursion and have it approved by the finance office.{% endblocktrans %}
</p>
<p>
{% blocktrans %}The LJP contributions are configured to be paid to:{% endblocktrans %}
{% blocktrans %}By submitting a seminar report, you may apply for LJP contributions. In this case,
{% blocktrans %}By submitting a seminar report, you may apply for LJP contributions. In this case,
you may obtain up to 25€ times {{ duration }} days for {{ participant_count }} participants but only up to
you may obtain up to 25€ times {{ duration }} days for {{ participant_count }} participants but only up to
90% of the total costs. This results in a total of {{ ljp_contributions }}€.{% endblocktrans %}
90% of the total costs. This results in a total of {{ ljp_contributions }}€. If you have created a seminar report, you need to specify who should receive the contributions in order to make use of them.{% endblocktrans %}
</p>
</p>
{% endif %}
<h3>{% trans "Summary" %}</h3>
<h3>{% trans "Summary" %}</h3>
<p>
<p>
@ -163,7 +188,7 @@ you may obtain up to 25€ times {{ duration }} days for {{ participant_count }}
</tr>
</tr>
<tr>
<tr>
<td>
<td>
{% trans "Potential LJP contributions" %}
{% if memberlist.statement.ljp_to %}{% trans "LJP contributions" %}{% else %}{% trans "Potential LJP contributions" %}{% endif %}