|
|
@@ -1042,11 +1042,11 @@ class ArtitleController extends Controller {
|
|
|
]);
|
|
|
} catch (\Throwable $th) {
|
|
|
DB::rollBack();
|
|
|
- return $this->responseController->makeResponse(true, "Ocurrió un error al registrar la descripción del proveedor #{$requestData['NUMERO_PROVEEDOR']}.", $th->getMessage(), 500);
|
|
|
+ return $this->responseController->makeResponse(true, "Ocurrió un error al registrar la descripción del proveedor #{$descriptions['NUMERO_PROVEEDOR']}.", $th->getMessage(), 500);
|
|
|
}
|
|
|
if ($idDescription <= 0) {
|
|
|
DB::rollBack();
|
|
|
- return $this->responseController->makeResponse(true, "No se pudo registrar la descripción del proveedor #{$requestData['NUMERO_PROVEEDOR']}.", [], 500);
|
|
|
+ return $this->responseController->makeResponse(true, "No se pudo registrar la descripción del proveedor #{$descriptions['NUMERO_PROVEEDOR']}.", [], 500);
|
|
|
}
|
|
|
|
|
|
foreach ($descriptions['DETALLES'] as $details) {
|