From dff21ec37ad348ac620530a7a32c267c38393f62 Mon Sep 17 00:00:00 2001 From: Paula Quispe Date: Tue, 13 Jun 2017 15:59:09 -0400 Subject: [PATCH] HOR-3310 --- workflow/engine/classes/model/AppNotes.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/workflow/engine/classes/model/AppNotes.php b/workflow/engine/classes/model/AppNotes.php index cc45c5a6b..3c8cf5930 100644 --- a/workflow/engine/classes/model/AppNotes.php +++ b/workflow/engine/classes/model/AppNotes.php @@ -167,12 +167,14 @@ class AppNotes extends BaseAppNotes $oCase = new Cases(); $aFields = $oCase->loadCase( $appUid ); $configNoteNotification['subject'] = G::LoadTranslation( 'ID_MESSAGE_SUBJECT_NOTE_NOTIFICATION' ) . " @#APP_TITLE "; - $configNoteNotification['body'] = G::LoadTranslation( 'ID_CASE' ) . ": @#APP_TITLE
" . G::LoadTranslation( 'ID_AUTHOR' ) . ": $authorName

$noteContent"; + //Define the body for the notification + $body = G::LoadTranslation('ID_CASE_TITLE') . ": @#APP_TITLE
"; + $body .= G::LoadTranslation('ID_CASE_NUMBER') . ": @#APP_NUMBER
"; + $body .= G::LoadTranslation('ID_AUTHOR') . ": $authorName

$noteContent"; + $configNoteNotification['body'] = $body; $sFrom = G::buildFrom($aConfiguration, $sFrom); - $sSubject = G::replaceDataField( $configNoteNotification['subject'], $aFields ); - $sBody = nl2br( G::replaceDataField( $configNoteNotification['body'], $aFields ) ); G::LoadClass( 'spool' );