PMCORE-3674

This commit is contained in:
Paula Quispe
2022-03-02 11:59:29 -04:00
committed by Paula.Quispe
parent e79f5ac1cc
commit 8fbcb712e5
49 changed files with 1797 additions and 377 deletions

View File

@@ -7079,7 +7079,7 @@ class Cases
* @return array|stdclass|string
*
*/
public function getCaseNotes($applicationID, $type = 'array', $userUid = '')
public static function getCaseNotes($applicationID, $type = 'array', $userUid = '')
{
require_once("classes/model/AppNotes.php");
$appNotes = new AppNotes();
@@ -7108,6 +7108,7 @@ class Cases
case 'object':
$response = new stdclass();
foreach ($appNotes['array']['notes'] as $key => $value) {
$response->$key = new stdclass();
$response->$key->FULL_NAME = $value['USR_FIRSTNAME'] . " " . $value['USR_LASTNAME'];
foreach ($value as $keys => $value) {
if ($keys != 'USR_FIRSTNAME' && $keys != 'USR_LASTNAME' && $keys != 'USR_EMAIL') {