diff --git a/templates/macros/modals.html b/templates/macros/modals.html index 9ab5f97..fdda152 100644 --- a/templates/macros/modals.html +++ b/templates/macros/modals.html @@ -158,39 +158,41 @@
| Producto | -Cant. | -Precio Un. | -Total Línea | -Comisión | -
|---|---|---|---|---|
| {{ item[0] }} | -{{ item[1] }} | -${{ "{:,.0f}".format(item[2]).replace(',', '.') }} | -${{ "{:,.0f}".format(item[4]).replace(',', '.') }} | -${{ "{:,.0f}".format(item[5]).replace(',', '.') }} | -
| No se registraron productos en esta rendición. | -||||
| Total Calculado por Sistema: | -${{ "{:,.0f}".format(total_calculado or 0).replace(',', '.') }} | -${{ "{:,.0f}".format(comision_total or 0).replace(',', '.') }} | -||
| Producto | +Cant. | +Precio Un. | +Total Línea | +Comisión | +
|---|---|---|---|---|
| {{ item[0] }} | +{{ item[1] }} | +${{ "{:,.0f}".format(item[2]).replace(',', '.') }} | +${{ "{:,.0f}".format(item[4]).replace(',', '.') }} | +${{ "{:,.0f}".format(item[5]).replace(',', '.') }} | +
| No se registraron productos en esta rendición. | +||||
| Total Calculado por Sistema: | +${{ "{:,.0f}".format(total_calculado or 0).replace(',', '.') }} | +${{ "{:,.0f}".format(comision_total or 0).replace(',', '.') }} | +||
+
{{ rendicion[9] if rendicion[9] else "Sin observaciones." }}
| Fecha | -Mi Rol | -Módulo | -Total Declarado | -Gastos | -Acciones | -||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ r[1] }} | -- {% if r[17] == 'Titular' %} - Titular - {% else %} - Acompañante - {% endif %} - | -{{ r[3] }} | - -- ${{ "{:,.0f}".format((r[4] or 0) + (r[5] or 0) + (r[6] or 0) + (r[7] or 0)).replace(',', '.') }} - | -- ${{ "{:,.0f}".format(r[8] or 0).replace(',', '.') }} - | -
-
+
+
+ ${{ "{:,.0f}".format((r[4] or 0) + (r[5] or 0) + (r[6] or 0) + (r[7] or 0)).replace(',', '.') }}
+ |
+
+
+
+ {{ rendicion_detail_modal(r, r[14], r[15], r[16]) }}
+ |
+ | ||||||||||||||||||
| + + Aún no tienes rendiciones registradas. + | +|||||||||||||||||||||||||