refactor: remove redundant separators in P&L

This commit is contained in:
ruthra kumar
2026-01-11 18:38:23 +05:30
parent c15e96c460
commit e66b1a06f4

View File

@@ -123,9 +123,7 @@ def get_report_summary(
return [
{"value": net_income, "label": income_label, "datatype": "Currency", "currency": currency},
{"type": "separator", "value": "-"},
{"value": net_expense, "label": expense_label, "datatype": "Currency", "currency": currency},
{"type": "separator", "value": "=", "color": "blue"},
{
"value": net_profit,
"indicator": "Green" if net_profit > 0 else "Red",