Skip to content

Commit 7ae984b

Browse files
committed
Adding the missing CreatedBy information at the outer description.
1 parent 50ff06b commit 7ae984b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Handlers/WorkOrderCreatedHandler.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ bool hasImages
149149
areaName +
150150
$"<strong>{_backendConfigurationLocalizationService.GetString("Description")}:</strong> {newDescription}<br>" +
151151
priorityText +
152+
$"<strong>{_backendConfigurationLocalizationService.GetString("CreatedBy")}:</strong> {workOrderCase.CreatedByName}<br>" +
153+
(!string.IsNullOrEmpty(workOrderCase.CreatedByText)
154+
? $"<strong>{_backendConfigurationLocalizationService.GetString("CreatedBy")}:</strong> {workOrderCase.CreatedByText}<br>"
155+
: "") +
152156
assignedTo +
153157
$"<strong>{_backendConfigurationLocalizationService.GetString("Status")}:</strong> {textStatus}<br><br>";
154158

eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn/Handlers/WorkOrderUpdatedHandler.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ private async Task DeployWorkOrderEform(
132132
areaName +
133133
$"<strong>{_backendConfigurationLocalizationService.GetString("Description")}:</strong> {newDescription}<br>" +
134134
priorityText +
135+
$"<strong>{_backendConfigurationLocalizationService.GetString("CreatedBy")}:</strong> {workOrderCase.CreatedByName}<br>" +
136+
(!string.IsNullOrEmpty(workOrderCase.CreatedByText)
137+
? $"<strong>{_backendConfigurationLocalizationService.GetString("CreatedBy")}:</strong> {workOrderCase.CreatedByText}<br>"
138+
: "") +
135139
assignedTo +
136140
$"<strong>{_backendConfigurationLocalizationService.GetString("Status")}:</strong> {textStatus}<br><br>";
137141
var mainElement = await _sdkCore.ReadeForm(eformId, siteLanguage);

0 commit comments

Comments
 (0)