fix: verbosity of contributions in finance overview and summary statement

MK/finance_workflow
mariusrklein 8 months ago
parent 9bd2b42ba8
commit 81f24da1ac

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-04-04 01:07+0200\n" "POT-Creation-Date: 2025-04-06 15:55+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -215,7 +215,9 @@ msgstr "LJP-Zuschüsse auszahlen an"
msgid "" msgid ""
"The person that should receive the ljp contributions for the participants. " "The person that should receive the ljp contributions for the participants. "
"Should be only selected if an ljp request was submitted." "Should be only selected if an ljp request was submitted."
msgstr "Die Person, die die LJP-Zuschüsse für die Teilnehmenden erhalten soll. Nur auswählen, wenn ein LJP-Antrag abgegeben wird." msgstr ""
"Die Person, die die LJP-Zuschüsse für die Teilnehmenden erhalten soll. Nur "
"auswählen, wenn ein LJP-Antrag abgegeben wird."
#: finance/models.py #: finance/models.py
msgid "Price per night" msgid "Price per night"
@ -281,7 +283,7 @@ msgstr "Übernachtungs- und Fahrtkosten für %(excu)s"
msgid "LJP-Contribution %(excu)s" msgid "LJP-Contribution %(excu)s"
msgstr "LJP-Zuschuss %(excu)s" msgstr "LJP-Zuschuss %(excu)s"
#: finance/models.py finance/templates/admin/overview_submitted_statement.html #: finance/models.py
msgid "Total" msgid "Total"
msgstr "Gesamtbetrag" msgstr "Gesamtbetrag"
@ -530,11 +532,36 @@ msgid ""
"of 90%% and possible taxes (%(ljp_tax)s%%), this results in a total of " "of 90%% and possible taxes (%(ljp_tax)s%%), this results in a total of "
"%(paid_ljp_contributions)s€. \n" "%(paid_ljp_contributions)s€. \n"
"Once their proposal was approved, the ljp contributions of should be paid to:" "Once their proposal was approved, the ljp contributions of should be paid to:"
msgstr "Jugendleiter*innen haben Lerneinheiten für insgesamt %(total_seminar_days)s " msgstr ""
"Seminartage und für %(participant_count)s Teilnehmende dokumentiert. Unter Einbezug " "Jugendleiter*innen haben Lerneinheiten für insgesamt %(total_seminar_days)s "
"der maximalen Förderquote von 90%% und möglichen Steuern (%(ljp_tax)s%%), ergibt sich " "Seminartage und für %(participant_count)s Teilnehmende dokumentiert. Unter "
"ein auszuzahlender Betrag von %(paid_ljp_contributions)s€. " "Einbezug der maximalen Förderquote von 90%% und möglichen Steuern "
"Sobald der LJP-Antrag geprüft ist, können LJP-Zuschüsse ausbezahlt werden an:" "(%(ljp_tax)s%%), ergibt sich ein auszuzahlender Betrag von "
"%(paid_ljp_contributions)s€. Sobald der LJP-Antrag geprüft ist, können LJP-"
"Zuschüsse ausbezahlt werden an:"
#: finance/templates/admin/overview_submitted_statement.html
msgid "Summary"
msgstr "Zusammenfassung"
#: finance/templates/admin/overview_submitted_statement.html
msgid "Covered bills"
msgstr "Übernommene Ausgaben"
#: finance/templates/admin/overview_submitted_statement.html
msgid "Allowance"
msgstr "Aufwandsentschädigung"
#: finance/templates/admin/overview_submitted_statement.html
msgid "Contributions by the association"
msgstr "Sektionszuschüsse"
#: finance/templates/admin/overview_submitted_statement.html
#, fuzzy
#| msgid "Pay ljp contributions to"
msgid "ljp contributions"
msgstr "LJP-Zuschüsse auszahlen an"
#: finance/templates/admin/overview_submitted_statement.html #: finance/templates/admin/overview_submitted_statement.html
#, python-format #, python-format

@ -134,7 +134,46 @@ Once their proposal was approved, the ljp contributions of should be paid to:{%
{% endif %} {% endif %}
<h2>{% trans "Total" %}</h2>
{% endif %}
<h2>{% trans "Summary" %}</h2>
<table>
<tr>
<td>
{% trans "Covered bills" %}
</td>
<td>
{{ total_bills }}€
</td>
</tr>
<tr>
<td>
{% trans "Allowance" %}
</td>
<td>
{{ total_allowance }}€
</td>
</tr>
<tr>
<td>
{% trans "Contributions by the association" %}
</td>
<td>
{{ total_subsidies_theoretical }}€
</td>
</tr>
<tr>
<td>
{% trans "ljp contributions" %}
</td>
<td>
{{ paid_ljp_contributions }}€
</td>
</tr>
</table>
<p> <p>
{% blocktrans %}This results in a total amount of {{ total }}€{% endblocktrans %} {% blocktrans %}This results in a total amount of {{ total }}€{% endblocktrans %}

@ -124,7 +124,7 @@ in der Ausgabenübersicht gesondert aufgeführt.
LJP-Zuschuss für die Teilnehmenden && {{ statement.ljp_to.name|esc_all }} & {{ statement.paid_ljp_contributions|esc_all }}\\ LJP-Zuschuss für die Teilnehmenden && {{ statement.ljp_to.name|esc_all }} & {{ statement.paid_ljp_contributions|esc_all }}\\
{% endif %} {% endif %}
{% if statement.bills_covered and excursion.approved_staff_count > 0 %} {% if statement.ljp_to or statement.bills_covered and excursion.approved_staff_count > 0 %}
\midrule \midrule
\textbf{Gesamtsumme}& & & \textbf{ {{ statement.total }} }\\ \textbf{Gesamtsumme}& & & \textbf{ {{ statement.total }} }\\
{% endif %} {% endif %}

Loading…
Cancel
Save