Update metodos.js
This commit is contained in:
parent
55a589ea50
commit
642f3975c6
@ -663,6 +663,12 @@ async function Fun_ConsultarClavesCatastrales(agent, req, res, _cedula = null, n
|
|||||||
if (legion['ok'] == true) {
|
if (legion['ok'] == true) {
|
||||||
console.log("legion model");
|
console.log("legion model");
|
||||||
console.log(legion);
|
console.log(legion);
|
||||||
|
let printzeus = '';
|
||||||
|
legion['data']['data_text'].forEach((elem_ares, index) => {
|
||||||
|
printzeus += '\n -' + elem_ares.name + ': $' + elem_ares.value;
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
// let mensjae_predios = '';
|
// let mensjae_predios = '';
|
||||||
// legion['data'].forEach((element, index) => {
|
// legion['data'].forEach((element, index) => {
|
||||||
// var rec = element['valor']['boot']['anteriores'];
|
// var rec = element['valor']['boot']['anteriores'];
|
||||||
@ -690,7 +696,7 @@ async function Fun_ConsultarClavesCatastrales(agent, req, res, _cedula = null, n
|
|||||||
// if (mensjae_predios.length > 0) {
|
// if (mensjae_predios.length > 0) {
|
||||||
// agent.add(mensjae_predios);
|
// agent.add(mensjae_predios);
|
||||||
// }
|
// }
|
||||||
agent.add(legion['data']['data_text']);
|
agent.add(printzeus);
|
||||||
return Fun_RetornarAlinicio(agent, req, res, funcion.conver_name(data_context.name));
|
return Fun_RetornarAlinicio(agent, req, res, funcion.conver_name(data_context.name));
|
||||||
} else {
|
} else {
|
||||||
agent.add(funcion.conver_name(data_context.name) + ', ' + legion['msg']);
|
agent.add(funcion.conver_name(data_context.name) + ', ' + legion['msg']);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user