Ver Fonte

cambio en el msj

EmilianoOrtiz há 2 meses atrás
pai
commit
3ef6c12ea5

+ 2 - 1
sistema-mantenimiento-back/bash/validateLoadArchives.php

@@ -7,6 +7,7 @@ $database = 'samqa';
 $username = 'root';
 $password = 'root';
 
+
 // Archivo lock global
 $lockFile = __DIR__ . '/validation.lock';
 
@@ -234,7 +235,7 @@ try {
     emitNotification(
         'S002V01M15IDUE',
         'Carga de archivos temporales completada',
-        'Los archivos del submodulo Carga de documentos han sido subidos al servidor y están listos para completar el proceso.',
+        'Los archivos del submodulo Carga de documentos relacionados han sido subidos al servidor y están listos para completar el proceso.',
         [['BOTON' => 'Completar proceso', 'FUNCION' => 'processLoadArchives', 'PARAMETROS' => json_encode($parameters)]],
         [$job['VAJO_IDUS']]
     );

+ 6 - 4
sistema-mantenimiento-back/routes/api.php

@@ -223,9 +223,9 @@ Route::get("/print-order-details/{idOrder}/{idUser}/{line}",
     Route::get("/workteam/consult/{idUser}/{line}",                                     "App\Http\Controllers\WorkTeamController@getConsultOfWorkteams");
     Route::get("/workteam/only/{workteam}/{idUser}/{line}",                             "App\Http\Controllers\WorkTeamController@getWorkteamById");
     Route::get("/workteam/members/{workteam}/{idUser}/{line}",                          "App\Http\Controllers\WorkTeamController@getMembersOfWorkteamById");
-    Route::get("/intervention/contract/consult/{idUser}/{line}",                        "App\Http\Controllers\InterventionController@getConsultOfContracts");
-    Route::get("/intervention/consult/{idUser}/{line}",                                 "App\Http\Controllers\InterventionController@getConsultOfInterventions");
-    Route::get("/specialties/consult/{idUser}/{line}",                                  "App\Http\Controllers\InterventionController@getAllRegisteredSpecialties");
+    // Route::get("/intervention/contract/consult/{idUser}/{line}",                        "App\Http\Controllers\InterventionController@getConsultOfContracts");
+    // Route::get("/intervention/consult/{idUser}/{line}",                                 "App\Http\Controllers\InterventionController@getConsultOfInterventions");
+    // Route::get("/specialties/consult/{idUser}/{line}",                                  "App\Http\Controllers\InterventionController@getAllRegisteredSpecialties");
     Route::post("/employee/register",                                                   "App\Http\Controllers\EmployeeController@storeEmployee");
     Route::post("/employee/update",                                                     "App\Http\Controllers\EmployeeController@updateEmployee");
     Route::post("/employee/delete",                                                     "App\Http\Controllers\EmployeeController@updateToInactiveStatus");
@@ -553,8 +553,10 @@ Route::get("/print-order-details/{idOrder}/{idUser}/{line}",
     Route::post("process-load-archives",                                                           "App\Http\Controllers\AsyncValidateLoadArchivesController@processLoadArchives");
     Route::post("async-validate-load-archives",                                                    "App\Http\Controllers\AsyncValidateLoadArchivesController@validateFilesWithBat");
     //api para encriptar
+    Route::post("decrypt",                                                                          "App\Http\Controllers\AsyncValidateLoadArchivesController@decrypt");
+
     Route::post("encrypt",                                                                          "App\Http\Controllers\AsyncValidateLoadArchivesController@encrypt");
-    Route::post("emitNotification", "App\Http\Controllers\AsyncValidateLoadArchivesController@emitNotification");
+    Route::post("emitNotification",                                                                 "App\Http\Controllers\AsyncValidateLoadArchivesController@emitNotification");
     //subida de archivo de equipamientos
     Route::post('equipment-data/verify-template',                                                   'App\Http\Controllers\TemplatesManagementController@validateAndProcessExcelTemplate');
     Route::post('equipment-data/upload-template',                                                   'App\Http\Controllers\TemplatesManagementController@processExcelEquipment');