basura
This commit is contained in:
parent
92b907401f
commit
a34c4de99a
@ -163,7 +163,6 @@ async function ConsultaClaves(cedula, chang = null) {
|
|||||||
var _ur = 'consulta_predios_detalle/1/' + cedula + '?boot=true';
|
var _ur = 'consulta_predios_detalle/1/' + cedula + '?boot=true';
|
||||||
}
|
}
|
||||||
AxiosPOST(_ur, {}, API_TOKEN_PORTAL).then(function (result) {
|
AxiosPOST(_ur, {}, API_TOKEN_PORTAL).then(function (result) {
|
||||||
console.log(result);
|
|
||||||
if (result['ok']) {
|
if (result['ok']) {
|
||||||
array['ok'] = true;
|
array['ok'] = true;
|
||||||
array['data'] = result['data_bot'];
|
array['data'] = result['data_bot'];
|
||||||
@ -171,14 +170,6 @@ async function ConsultaClaves(cedula, chang = null) {
|
|||||||
} else {
|
} else {
|
||||||
array['msg'] = result['message'];
|
array['msg'] = result['message'];
|
||||||
}
|
}
|
||||||
// if(result['ok'] && result['data_bot']['data'].length > 0){
|
|
||||||
// array['ok'] = true; array['data'] = result['data_bot']['data']; array['msg'] = 'Consulta exitosa';
|
|
||||||
// }else{
|
|
||||||
// array['msg'] = 'el número de cédula '+cedula+' no posee predios catastrales registrados en el GAD MANTA';
|
|
||||||
// if(chang != null){
|
|
||||||
// array['msg'] = 'la clave catastral '+cedula+' no existe en los registros del GAD MANTA';
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
resolve(array);
|
resolve(array);
|
||||||
}).catch(function (error) {
|
}).catch(function (error) {
|
||||||
array['msg'] = error;
|
array['msg'] = error;
|
||||||
|
|||||||
@ -693,6 +693,14 @@ async function Func_MiTasaRecoleccionBasura(agent, req, res, lery = 1, data = nu
|
|||||||
let suma = 0;
|
let suma = 0;
|
||||||
|
|
||||||
msger = msger + '\n🏠 Contrato *' + elem_legio.numero_contrato + '* (' + funcion.conver_capitalice(elem_legio.direccion) + ') \n';
|
msger = msger + '\n🏠 Contrato *' + elem_legio.numero_contrato + '* (' + funcion.conver_capitalice(elem_legio.direccion) + ') \n';
|
||||||
|
msger = msger + '\nValores emitidos - 2025 \n';
|
||||||
|
elem_legio.facturas_usadas_para_promedio.forEach(elem_omega => {
|
||||||
|
if (elem_omega.estado_proceso == 'GENERADA POR CNEL') {
|
||||||
|
suma += Number(elem_omega.monto_total);
|
||||||
|
msger = msger + '🚛 ' + elem_omega.mes + ' : *$' + elem_omega.monto_total + '*\n';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
msger = msger + '\n\nPromedio a cancelar - 2026 \n';
|
||||||
elem_legio.facturas_usadas_para_promedio.forEach(elem_omega => {
|
elem_legio.facturas_usadas_para_promedio.forEach(elem_omega => {
|
||||||
if (elem_omega.estado_proceso != 'GENERADA POR CNEL') {
|
if (elem_omega.estado_proceso != 'GENERADA POR CNEL') {
|
||||||
suma += Number(elem_omega.monto_total);
|
suma += Number(elem_omega.monto_total);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user