Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#venray-144] Expose case description (zaak.omschrijving) in email templates #1617

Merged
merged 1 commit into from
Feb 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/open_inwoner/conf/parts/maileditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,11 @@ def _readfile(name):
"description": _("The description of the type of the case"),
"example": _("Casetype placeholder"),
},
{
"name": "case_description",
"description": _("The description of the particular case"),
"example": _("Aanvraag koffie"),
},
{
"name": "status_description",
"description": _("The description of the status of the case"),
Expand Down Expand Up @@ -369,6 +374,11 @@ def _readfile(name):
"description": _("The description of the type of the case"),
"example": _("Casetype placeholder"),
},
{
"name": "case_description",
"description": _("The description of the particular case"),
"example": _("Aanvraag koffie"),
},
{
"name": "start_date",
"description": _("The start date of the case"),
Expand Down
1 change: 1 addition & 0 deletions src/open_inwoner/openzaak/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def send_case_update_email(
template = find_template(template_name)
context = {
"identification": case.identification,
"case_description": case.omschrijving,
"type_description": case.zaaktype.omschrijving,
"start_date": case.startdatum,
"end_date": date.today() + timedelta(days=config.action_required_deadline_days),
Expand Down
Loading