bugfix/HOR-3556
udpate update update update update update update change function to static update update
This commit is contained in:
@@ -6969,11 +6969,20 @@ class Cases
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method return the cases notes
|
||||
* @param $applicationID
|
||||
* @param string $type
|
||||
* @param string $userUid
|
||||
* @return array|stdclass|string
|
||||
*/
|
||||
public function getCaseNotes($applicationID, $type = 'array', $userUid = '')
|
||||
{
|
||||
require_once("classes/model/AppNotes.php");
|
||||
$appNotes = new AppNotes();
|
||||
$appNotes = $appNotes->getNotesList($applicationID, $userUid);
|
||||
$appNotes = AppNotes::applyHtmlentitiesInNotes($appNotes);
|
||||
|
||||
$response = '';
|
||||
if (is_array($appNotes)) {
|
||||
switch ($type) {
|
||||
@@ -7005,10 +7014,10 @@ class Cases
|
||||
$response = '';
|
||||
foreach ($appNotes['array']['notes'] as $key => $value) {
|
||||
$response .= $value['USR_FIRSTNAME'] . " " .
|
||||
$value['USR_LASTNAME'] . " " .
|
||||
"(" . $value['USR_USERNAME'] . ")" .
|
||||
" " . $value['NOTE_CONTENT'] . " " . " (" . $value['NOTE_DATE'] . " ) " .
|
||||
" \n";
|
||||
$value['USR_LASTNAME'] . " " .
|
||||
"(" . $value['USR_USERNAME'] . ")" .
|
||||
" " . $value['NOTE_CONTENT'] . " " . " (" . $value['NOTE_DATE'] . " ) " .
|
||||
" \n";
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user