Commit b73f2ddb by Juan

Cambios on fly

1 parent 6ec72b3d
......@@ -6,3 +6,4 @@ models/__pycache__/tipo_transporte.cpython-36.pyc
models/__pycache__/dias.cpython-36.pyc
models/__pycache__/__init__.cpython-36.pyc
controllers/__pycache__/controllers.cpython-36.pyc
controllers/__pycache__/__init__.cpython-36.pyc
......@@ -18,13 +18,27 @@ class dispositivos(http.Controller):
try:
empresa = kw["nombre"]
#print(empresa)
try:
cuit = kw["cuit"]
except:
cuit = ""
#print(cuit)
celular = kw["celular"]
#print(celular)
try:
id_localidad = kw["localidad"]
except:
id_localidad = ""
#print(id_localidad)
try:
email = kw["email"]
except:
email = ""
#Pagina Webw
#Tipo de empresa
#Tipo de Transporte
#Elemento que no transporta
#Logo
except:
return({"error":"Falta algun dato de los obligatorios empresa,cuit,celular,id_localidad"})
......
......@@ -14,7 +14,7 @@ class restablecedor(http.Controller):
def index(self, **kw):
try:
token = self.ResetUsuario(kw["celular"])
mensaje = "Se envio el codigo por ws"
mensaje = "Se envio el codigo por ws Agregar URL de reseteo"
except:
mensaje = "Fallo el envio, intente nuevamente en unos minutos o contacte soporte por mail en soporte@hgtsa.com.ar"
#print(token)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!