diff --git a/satcfdi/render/templates/Pagos.html b/satcfdi/render/templates/Pagos.html
index c994434..07164ae 100644
--- a/satcfdi/render/templates/Pagos.html
+++ b/satcfdi/render/templates/Pagos.html
@@ -156,7 +156,7 @@
{{ r[1] }} |
{% endfor %}
- {% for r in [('IVA', c.Totales.TotalRetencionesIVA), ('ISR', c.Totales.TotalRetencionesISR), ('IEPS', c.Totales.TotalRetencionesIEPS)] if r[1] %}
+ {% for r in [('ISR', c.Totales.TotalRetencionesISR), ('IVA', c.Totales.TotalRetencionesIVA), ('IEPS', c.Totales.TotalRetencionesIEPS)] if r[1] %}
{% if loop.first %}Totales Retenciónes MXN{% endif %} |
{{ r[0] }} |
diff --git a/tests/test_create_cfdi40/mpago2_xiqb891116qe4_ingreso_iva16.html b/tests/test_create_cfdi40/mpago2_xiqb891116qe4_ingreso_iva16.html
index 0b68baf..4709d1f 100644
--- a/tests/test_create_cfdi40/mpago2_xiqb891116qe4_ingreso_iva16.html
+++ b/tests/test_create_cfdi40/mpago2_xiqb891116qe4_ingreso_iva16.html
@@ -437,15 +437,15 @@ Pagos
Totales Retenciónes MXN |
- IVA |
+ ISR |
|
- 3,283.28 |
+ 3,078.06 |
|
- ISR |
+ IVA |
|
- 3,078.06 |
+ 3,283.28 |
diff --git a/tests/test_create_cfdi40/mpago_xiqb891116qe4_ingreso_iva16.html b/tests/test_create_cfdi40/mpago_xiqb891116qe4_ingreso_iva16.html
index 7551fb4..a17d375 100644
--- a/tests/test_create_cfdi40/mpago_xiqb891116qe4_ingreso_iva16.html
+++ b/tests/test_create_cfdi40/mpago_xiqb891116qe4_ingreso_iva16.html
@@ -437,15 +437,15 @@ Pagos
|
Totales Retenciónes MXN |
- IVA |
+ ISR |
|
- 3,283.28 |
+ 3,078.06 |
|
- ISR |
+ IVA |
|
- 3,078.06 |
+ 3,283.28 |
diff --git a/tests/test_create_cfdi40/pago_p_xiqb891116qe4_ingreso_iva16.html b/tests/test_create_cfdi40/pago_p_xiqb891116qe4_ingreso_iva16.html
index 7c7e161..1f753b3 100644
--- a/tests/test_create_cfdi40/pago_p_xiqb891116qe4_ingreso_iva16.html
+++ b/tests/test_create_cfdi40/pago_p_xiqb891116qe4_ingreso_iva16.html
@@ -393,15 +393,15 @@ Pagos
|
Totales Retenciónes MXN |
- IVA |
+ ISR |
|
- 363.09 |
+ 340.40 |
|
- ISR |
+ IVA |
|
- 340.40 |
+ 363.09 |
diff --git a/tests/test_create_cfdi40/pago_xiqb891116qe4_ingreso_iva16.html b/tests/test_create_cfdi40/pago_xiqb891116qe4_ingreso_iva16.html
index 092956f..6e793cc 100644
--- a/tests/test_create_cfdi40/pago_xiqb891116qe4_ingreso_iva16.html
+++ b/tests/test_create_cfdi40/pago_xiqb891116qe4_ingreso_iva16.html
@@ -393,15 +393,15 @@ Pagos
|
Totales Retenciónes MXN |
- IVA |
+ ISR |
|
- 1,641.64 |
+ 1,539.03 |
|
- ISR |
+ IVA |
|
- 1,539.03 |
+ 1,641.64 |
|