{% extends "base.html" %} {% block content %}

Comparison — Weekly & Monthly

Export Comparison XLSX

Weekly

Current: {{ w_label }}    Prev: {{ w_prev_label }}

PeriodINOUTNETΔ NET% NET
Current{{ '%.2f'|format(w_this.IN) }}{{ '%.2f'|format(w_this.OUT) }}{{ '%.2f'|format(w_this.NET) }} {{ '%.2f'|format(w_this.NET - w_last.NET) }} {{ '%.2f'|format(( (w_this.NET - w_last.NET) / (w_last.NET if w_last.NET!=0 else 1) ) * 100) }}%
Previous{{ '%.2f'|format(w_last.IN) }}{{ '%.2f'|format(w_last.OUT) }}{{ '%.2f'|format(w_last.NET) }}

Monthly

Current: {{ m_label }}    Prev: {{ m_prev_label }}

PeriodINOUTNETΔ NET% NET
Current{{ '%.2f'|format(m_this.IN) }}{{ '%.2f'|format(m_this.OUT) }}{{ '%.2f'|format(m_this.NET) }} {{ '%.2f'|format(m_this.NET - m_last.NET) }} {{ '%.2f'|format(( (m_this.NET - m_last.NET) / (m_last.NET if m_last.NET!=0 else 1) ) * 100) }}%
Previous{{ '%.2f'|format(m_last.IN) }}{{ '%.2f'|format(m_last.OUT) }}{{ '%.2f'|format(m_last.NET) }}
{% endblock %}