Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
hgt_transportar
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 511000b5
authored
2025-08-14 11:17:25 +0000
by
Your Name
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of git.anacsoft.com:matu/hgt_transportar
2 parents
1e9cb472
b73f2ddb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
4 deletions
.gitignore
controllers/altausuario.py
controllers/resetart_pass.py
.gitignore
View file @
511000b
...
...
@@ -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
controllers/altausuario.py
View file @
511000b
...
...
@@ -18,13 +18,27 @@ class dispositivos(http.Controller):
try
:
empresa
=
kw
[
"nombre"
]
#print(empresa)
cuit
=
kw
[
"cuit"
]
try
:
cuit
=
kw
[
"cuit"
]
except
:
cuit
=
""
#print(cuit)
celular
=
kw
[
"celular"
]
#print(celular)
id_localidad
=
kw
[
"localidad"
]
try
:
id_localidad
=
kw
[
"localidad"
]
except
:
id_localidad
=
""
#print(id_localidad)
email
=
kw
[
"email"
]
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"
})
...
...
controllers/resetart_pass.py
View file @
511000b
...
...
@@ -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)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment