Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Marta Miranda
/
boletin_api
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Enzo Yair
2023-10-04 06:55:20 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
62d1f1df4ffbca0d7c85885c4c00a06b89b57ecc
62d1f1df
1 parent
daf3b95a
correcion en el monto total
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project/apps/edicto/precio.py
project/apps/edicto/precio.py
View file @
62d1f1d
...
...
@@ -21,7 +21,7 @@ def calculadora(edicto, precio):
if
descuento
:
resultado
=
(
50
*
subtotal
)
/
100
else
:
resultado
=
((
100
-
50
)
*
subtotal
)
/
100
resultado
=
subtotal
comprobante
=
ComprobantePago
(
monto_total
=
resultado
,
monto_subtotal
=
subtotal
,
...
...
Please
register
or
login
to post a comment