Skip to content

Commit

Permalink
👌 [#2193] PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Mar 12, 2024
1 parent 2b5b2bc commit d09bfde
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/open_inwoner/pdc/admin/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ def zaaktypen_select_schema() -> dict:

choices = []
for zaaktype in zaaktypen:
title = zaaktype.omschrijving
# eSuite doesn't have the Catalogus resource
if zaaktype.catalogus:
title = f"{zaaktype.catalogus.domein} - {zaaktype.catalogus.rsin}: {title}"

choices.append(
{
"value": zaaktype.identificatie,
"title": f"{zaaktype.catalogus.domein} - {zaaktype.catalogus.rsin}: {zaaktype.omschrijving}",
"title": title,
}
)

Expand Down

0 comments on commit d09bfde

Please sign in to comment.