fix: correctly apply due dates for contract and invoice upload reminders

This commit is contained in:
Björn Fromme
2026-08-17 11:55:02 +02:00
parent 3e08965e48
commit 489aafed3e
22 changed files with 732 additions and 156 deletions
+8 -5
View File
@@ -9,11 +9,14 @@ parameters:
teamer_inactive_period: '-2 years'
# Deadlines quoted to teamers in the transactional mails. They are passed to the mail
# texts as placeholders rather than typed into the wording, so what an admin edits can
# never drift from the period the application actually works with.
contract_upload_deadline_days: 7
# Also drives when the reminder goes out: three days before the deadline expires.
# The contract upload period, counted from the creation of the disposition. This is the
# single definition: the reminder mail, the "Honorarvertrag fällig" flag on the teamer
# dashboard, the admin list of overdue contracts and the wording of the mails all read it,
# so they cannot mark the same disposition due on three different days.
contract_upload_deadline_days: 5
# The invoice upload period, counted from the end of the assignment. The teamer is
# reminded the day after the assignment ends and again on the last day of this period.
invoice_upload_deadline_days: 14
# Messenger transport the mails of a teamer mailing are queued on. An X-Bus-Transport