PMCORE-1662

This commit is contained in:
Paula Quispe
2020-06-16 16:51:14 -04:00
parent 403f144d8d
commit 9d8479e9c4
2 changed files with 3 additions and 3 deletions

View File

@@ -3016,13 +3016,13 @@ function PMFUnpauseCase ($caseUid, $delIndex, $userUid)
* @param string(32) | $taskUid | ID of the task | The unique ID of the task. * @param string(32) | $taskUid | ID of the task | The unique ID of the task.
* @param string(32) | $userUid | ID user | The unique ID of the user who will add note case. * @param string(32) | $userUid | ID user | The unique ID of the user who will add note case.
* @param string | $note | Note of the case | Note of the case. * @param string | $note | Note of the case | Note of the case.
* @param int | $sendMail = 1 | Send mail | Optional parameter. If set to 1, will send an email to all participants in the case. * @param int | $sendMail = 0 | Send mail | Optional parameter. If set to 1, will send an email to all participants in the case.
* @param array | $files | Array of files | An array of files (full paths) to be attached to the case notes. * @param array | $files | Array of files | An array of files (full paths) to be attached to the case notes.
* *
* @return int | $result | Result of the add a case note | Returns 1 if the note has been added to the case.; otherwise, returns 0 if an error occurred. * @return int | $result | Result of the add a case note | Returns 1 if the note has been added to the case.; otherwise, returns 0 if an error occurred.
* *
*/ */
function PMFAddCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendMail = 1, $files = []) function PMFAddCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendMail = 0, $files = [])
{ {
$ws = new WsBase(); $ws = new WsBase();
$result = $ws->addCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendMail, $files); $result = $ws->addCaseNote($caseUid, $processUid, $taskUid, $userUid, $note, $sendMail, $files);

View File

@@ -302,7 +302,7 @@ function openCaseNotesWindow(appUid1, delIndex, modalSw, appTitle, proUid, taskU
xtype: "checkbox", xtype: "checkbox",
id: "chkSendMail", id: "chkSendMail",
name: "chkSendMail", name: "chkSendMail",
checked: true, checked: false,
boxLabel: _("ID_CASE_NOTES_LABEL_SEND") boxLabel: _("ID_CASE_NOTES_LABEL_SEND")
}, },
'->', '->',