added project + customer setting for calendar entry titles (#3636)

This commit is contained in:
Kevin Papst
2022-11-16 23:02:26 +01:00
committed by GitHub
parent 608a45408a
commit e413325337
2 changed files with 4 additions and 0 deletions

View File

@@ -148,6 +148,8 @@
title = apiItem.project.name + description;
{% elseif config.entryTitlePattern == constant('\\App\\Form\\Type\\CalendarTitlePatternType::PATTERN_CUSTOMER_DESCRIPTION') %}
title = apiItem.project.customer.name + description;
{% elseif config.entryTitlePattern == constant('\\App\\Form\\Type\\CalendarTitlePatternType::PATTERN_PROJECT_CUSTOMER') %}
title = apiItem.project.name + apiItem.project.customer.name;
{% endif %}
if (title === '' || title === null) {