{% extends "macros/base.html" %} {% from "macros/modals.html" import report_filters %} {% from "macros/ui.html" import back_link %} {% block title %}Reporte: Finanzas - {{ modulo_name }}{% endblock %} {% block content %}
{{ back_link(url_for('admin.admin_reportes_index'), 'Volver al Menú') }}

Resumen Financiero y Medios de Pago

{{ modulo_name }}
Período: {{ mes_nombre }}
Venta Total Mensual

${{ "{:,.0f}".format(totales_mes.venta_total).replace(',', '.') }}

Comisiones Generadas

${{ "{:,.0f}".format(totales_mes.comision).replace(',', '.') }}

Total Gastos

-${{ "{:,.0f}".format(totales_mes.gastos).replace(',', '.') }}

Venta Total Neto

${{ "{:,.0f}".format(totales_mes.credito * 0.97620 + totales_mes.debito * 0.98453 + totales_mes.mp * 0.98691 + totales_mes.efectivo - totales_mes.gastos).replace(',', '.') }}

{{ report_filters( url_for('admin.report_modulo_periodo', modulo_id=modulo_id), workers_list, worker_actual, fecha_inicio, fecha_fin ) }}
Desglose Diario Exportar Detalle Completo (.xlsx)
{% for dia in dias_en_periodo %} {% set d = data_por_dia[dia] %} {% set red_credito = d.credito * 0.97620 %} {% set red_debito = d.debito * 0.98453 %} {% set red_mp = d.mp * 0.98691 %} {% set redelcom_neto = red_credito + red_debito + red_mp %} {% set efectivo_menos_gastos = d.efectivo - d.gastos %} {% endfor %} {% set t_redelcom = totales_mes.credito * 0.97620 + totales_mes.debito * 0.98453 + totales_mes.mp * 0.98691 %} {% set t_efectivo_menos = totales_mes.efectivo - totales_mes.gastos %}
Día VENTA TOTAL COMISIÓN GASTOS MEDIOS DE PAGO COMISIÓN REDELCOM TOTALES NETOS
Crédito Débito Mercado Pago Efectivo/Dep. Crédito (-2.38%) Débito (-1.547%) MP (-1.309%) REDELCOM Neto Efectivo - Gastos Venta Total Neto
{{ dia }} {{ ("$" ~ "{:,.0f}".format(d.venta_total).replace(',', '.')) if d.venta_total > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(d.comision).replace(',', '.')) if d.comision > 0 else "-" }} {{ ("-$" ~ "{:,.0f}".format(d.gastos).replace(',', '.')) if d.gastos > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(d.credito).replace(',', '.')) if d.credito > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(d.debito).replace(',', '.')) if d.debito > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(d.mp).replace(',', '.')) if d.mp > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(d.efectivo).replace(',', '.')) if d.efectivo > 0 else "-" }}{{ ("$" ~ "{:,.0f}".format(red_credito).replace(',', '.')) if red_credito > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(red_debito).replace(',', '.')) if red_debito > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(red_mp).replace(',', '.')) if red_mp > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(redelcom_neto).replace(',', '.')) if redelcom_neto > 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(efectivo_menos_gastos).replace(',', '.')) if efectivo_menos_gastos != 0 else "-" }} {{ ("$" ~ "{:,.0f}".format(redelcom_neto + efectivo_menos_gastos).replace(',', '.')) if (redelcom_neto + efectivo_menos_gastos) != 0 else "-" }}
TOTAL ${{ "{:,.0f}".format(totales_mes.venta_total).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.comision).replace(',', '.') }} -${{ "{:,.0f}".format(totales_mes.gastos).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.credito).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.debito).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.mp).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.efectivo).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.credito * 0.97620).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.debito * 0.98453).replace(',', '.') }} ${{ "{:,.0f}".format(totales_mes.mp * 0.98691).replace(',', '.') }}${{ "{:,.0f}".format(t_redelcom).replace(',', '.') }} ${{ "{:,.0f}".format(t_efectivo_menos).replace(',', '.') }} ${{ "{:,.0f}".format(t_redelcom + t_efectivo_menos).replace(',', '.') }}
{% endblock %}