PMCORE-677

This commit is contained in:
Paula Quispe
2022-01-13 18:59:36 -04:00
parent 88608303dc
commit cd08f758e3
5 changed files with 83 additions and 83 deletions

View File

@@ -1448,16 +1448,16 @@ class TimerEvent
}
if (!$flagRecord) {
$common->frontEndShow("TEXT", "Not exists any record to start a new case, on date \"$datetime (UTC +00:00)\"");
$common->frontEndShow("TEXT", "There are no records to start new cases, on date \"$datetime (UTC +00:00)\"");
$action = "NO-RECORDS";
$this->log($action, "Not exists any record to start a new case");
$this->log($action, "There are no records to start new cases");
$aInfo = array(
'ip' => \G::getIpAddress()
,'action' => $action
,'timeZone' => $datetime
,'workspace'=> $sysSys
);
$message = 'Not exists any record to start a new case';
$message = 'There are no records to start new cases';
$context = $aInfo;
Log::channel(':TimerEventCron')->info($message, Bootstrap::context($context));
}
@@ -1466,14 +1466,14 @@ class TimerEvent
//Intermediate Catch Timer-Event (continue the case) ///////////////////////////////////////////////////////
$action = "START-CONTINUE-CASES";
$this->log($action, "Start continue the cases");
$this->log($action, "Start continuing the cases");
$aInfo = array(
'ip' => \G::getIpAddress()
,'action' => $action
,'timeZone' => $datetime
,'workspace'=> $sysSys
);
$message = 'Start continue the cases';
$message = 'Start continuing the cases';
$context = $aInfo;
Log::channel(':TimerEventCron')->info($message, Bootstrap::context($context));
@@ -1719,16 +1719,16 @@ class TimerEvent
} while ($flagNextRecord);
if (!$flagRecord) {
$common->frontEndShow("TEXT", "No existing records to continue a case, on date \"$datetime (UTC +00:00)\"");
$common->frontEndShow("TEXT", "There are no records to continue cases, on date \"$datetime (UTC +00:00)\"");
$this->log("NO-RECORDS", "No existing records to continue a case");
$this->log("NO-RECORDS", "There are no records to continue cases");
$aInfo = array(
'ip' => \G::getIpAddress()
,'action' => $action
,'timeZone' => $datetime
,'workspace'=> $sysSys
);
$message = 'No existing records to continue a case';
$message = 'There are no records to continue cases';
$context = $aInfo;
Log::channel(':TimerEventCron')->info($message, Bootstrap::context($context));
}