Revert "PMCORE-1542 (pull request #7355)"
This reverts pull request #7355. > PMCORE-1542
This commit is contained in:
@@ -260,25 +260,10 @@ class AppNotes extends BaseAppNotes
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a note in the case and send an email
|
||||
*
|
||||
* @param string $applicationUid
|
||||
* @param string $userUid
|
||||
* @param string $note
|
||||
* @param bool $sendMail
|
||||
* @param array $files
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function addCaseNote($applicationUid, $userUid, $note, $sendMail, $files)
|
||||
public function addCaseNote($applicationUid, $userUid, $note, $sendMail)
|
||||
{
|
||||
$response = $this->postNewNote($applicationUid, $userUid, $note, false);
|
||||
|
||||
// Check the files to upload
|
||||
$case = new Cases();
|
||||
$res = $case->uploadFilesInCaseNotes($userUid, $applicationUid, $files, null);
|
||||
|
||||
if ($sendMail == 1) {
|
||||
|
||||
$case = new Cases();
|
||||
|
||||
@@ -127,7 +127,7 @@ class AppDocumentMapBuilder
|
||||
|
||||
$tMap->addValidator('USR_UID', 'required', 'propel.validator.RequiredValidator', '', 'User UID is required.');
|
||||
|
||||
$tMap->addValidator('APP_DOC_TYPE', 'validValues', 'propel.validator.ValidValuesValidator', 'INPUT|OUTPUT|ATTACHED|CASE_NOTE', 'Please select a valid document type.');
|
||||
$tMap->addValidator('APP_DOC_TYPE', 'validValues', 'propel.validator.ValidValuesValidator', 'INPUT|OUTPUT|ATTACHED', 'Please select a valid document type.');
|
||||
|
||||
$tMap->addValidator('APP_DOC_TYPE', 'required', 'propel.validator.RequiredValidator', '', 'Application Document Type is required.');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user