paypaltst

This commit is contained in:
mynah
2019-03-28 04:06:59 -06:00
parent 63ffc6c7d4
commit 2848f7ca42
11 changed files with 260 additions and 14 deletions

View File

@@ -0,0 +1,23 @@
d3.select("select#suser").on("change",function(){
var uid=d3.select("select#suser").node().value;
d3.json("/admin/json/usuarios/"+uid ,function(d){
if(d !=undefined) {if(d != 0){
d3.select("p#correo").text(d.correo);
d3.select("p#tel").text(d.tel);
d3.select("p#obs").text(d.obs);
d3.select("p#ultima").text(d.ultima);
}}});
});
d3.select("select#sentry").on("change",function(){
var tid=d3.select("select#sentry").node().value;
d3.json("/admin/json/tienda/"+tid ,function(d){
if(d !=undefined) {if(d != 0){
d3.select("p#imagen").text(d.imagen);
d3.select("p#precio").text(d.precio);
d3.select("p#descripcion").text(d.descripcion);
d3.select("p#vigencia").text(d.vigencia);
d3.select("p#entrega").text(d.entrega);
}}});
});