Creacion de Consulta Cloud en APP
This commit is contained in:
10
src/public/css/tipografias.css
Normal file
10
src/public/css/tipografias.css
Normal file
@@ -0,0 +1,10 @@
|
||||
@font-face {
|
||||
font-family: sigma_font;
|
||||
src: url(../tipografias/sigma_font.otf);
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: sigma_tipografia;
|
||||
src: url(../tipografias/sigma_font.ttf);
|
||||
font-style: normal;
|
||||
}
|
||||
26
src/public/js/consulta_sri.js
Normal file
26
src/public/js/consulta_sri.js
Normal file
@@ -0,0 +1,26 @@
|
||||
function ConsultaContribuyente(numeroruc){
|
||||
$.ajax({
|
||||
type:'POST',
|
||||
url: 'http://www.ecuadorlegalonline.com/modulo/sri/consulta-ruc/ruc.api.php',
|
||||
data: {
|
||||
func:'GETDATA',
|
||||
ruc:numeroruc
|
||||
},
|
||||
success: function(data){
|
||||
LoadingData(0);
|
||||
if(data!=null){
|
||||
var dataJson = data;
|
||||
if (dataJson.consolidado==null){
|
||||
ShowError('La búsqueda no generó resultados.');
|
||||
}else{
|
||||
console.log(dataJson.consolidado);
|
||||
}
|
||||
}
|
||||
},
|
||||
error : function(XMLHttpRequest, textStatus, errorThrown) {
|
||||
var xdata='';
|
||||
LoadingData(0);
|
||||
},
|
||||
});
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user