PMCORE-1651

This commit is contained in:
Paula Quispe
2020-06-16 11:24:32 -04:00
parent 984d0de944
commit d2cd0c2285
3 changed files with 66 additions and 3 deletions

View File

@@ -117,6 +117,7 @@ class AppProxy extends HttpProxyController
// Get the notes
$appNote = new Notes();
$total = $appNote->getTotal($appUid);
$response = $appNote->getNotes($appUid, $httpData->start, $httpData->limit);
$response = AppNotes::applyHtmlentitiesInNotes($response);
@@ -128,6 +129,8 @@ class AppProxy extends HttpProxyController
$response['notes'][$iterator]['attachments'] = $documents->getFiles($value['NOTE_ID']);
$iterator++;
}
// Get the total of cases notes by case
$response['totalCount'] = $total;
require_once("classes/model/Application.php");
$application = new Application();