|
|
@@ -1697,7 +1697,9 @@ class ProcessManagementController extends Controller
|
|
|
if ($notificate['ESTADO_NOTIFICACION'] === 'Aceptado') {
|
|
|
$quantityCompleted++;
|
|
|
}
|
|
|
- $quantityProcesses++;
|
|
|
+ if ($notificate['ESTADO_NOTIFICACION'] !== 'Obsoleto') {
|
|
|
+ $quantityProcesses++;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
$progress = ($quantityCompleted * 100) / $quantityProcesses;
|
|
|
@@ -2025,9 +2027,7 @@ class ProcessManagementController extends Controller
|
|
|
|
|
|
$arrWhere = array();
|
|
|
foreach ($infoRegister as $key => $value) {
|
|
|
- $arrWhere[] = [
|
|
|
- $key, '=', $value
|
|
|
- ];
|
|
|
+ $arrWhere[] = [ $key, '=', $value ];
|
|
|
}
|
|
|
$arrWhere[] = [ $formatValidator['NUMERO_LINEA'], '=', $requestData['NUMERO_LINEA']];
|
|
|
|
|
|
@@ -2045,14 +2045,13 @@ class ProcessManagementController extends Controller
|
|
|
}
|
|
|
if (!$validateUpdate) {
|
|
|
DB::rollBack();
|
|
|
- return $this->responseController->makeResponse(true, 'Nos se pudo modificar los campos de workflow.', [], 500);
|
|
|
+ return $this->responseController->makeResponse(true, 'No se pudo modificar los campos de workflow.', [], 500);
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
- // DB::rollBack();
|
|
|
DB::commit();
|
|
|
return $this->responseController->makeResponse(false, "ÉXITO: Modificación Exitosa");
|
|
|
}
|