fix: remove ×3 multiplier from insurance formulas

Report already returns quarterly data, so (işçi + şirkət) is sufficient.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ali 2026-03-31 13:34:20 +04:00
parent 8c5639ff7a
commit 3cbe277152
1 changed files with 3 additions and 3 deletions

View File

@ -152,9 +152,9 @@ def get_aggregated_employee_data(company, from_date, to_date):
"fin": fin_map.get(agg["employee"], ""),
"gəlirlərcəmi": agg["gross_pay"],
# vergiməbləği intentionally not filled
"hesablanmışmdsshaqqı": (flt(agg.get(_DSMF_ISCI, 0)) + flt(agg.get(_DSMF_SIRKET, 0))) * 3,
"hesablanmışişsizlikdənsığortahaqqı": (flt(agg.get(_ISSIZLIK_ISCI, 0)) + flt(agg.get(_ISSIZLIK_SIRKET, 0))) * 3,
"hesablanmışicbaritibbisığortahaqqı": (flt(agg.get(_ITS_ISCI, 0)) + flt(agg.get(_ITS_SIRKET, 0))) * 3,
"hesablanmışmdsshaqqı": flt(agg.get(_DSMF_ISCI, 0)) + flt(agg.get(_DSMF_SIRKET, 0)),
"hesablanmışişsizlikdənsığortahaqqı": flt(agg.get(_ISSIZLIK_ISCI, 0)) + flt(agg.get(_ISSIZLIK_SIRKET, 0)),
"hesablanmışicbaritibbisığortahaqqı": flt(agg.get(_ITS_ISCI, 0)) + flt(agg.get(_ITS_SIRKET, 0)),
}
result.append(child_row)