diff --git a/taxes_az/taxes_az/doctype/single_declaration_related_to_salaried_and_non_salaried_work/single_declaration_related_to_salaried_and_non_salaried_work.py b/taxes_az/taxes_az/doctype/single_declaration_related_to_salaried_and_non_salaried_work/single_declaration_related_to_salaried_and_non_salaried_work.py index ef56b3b..43ed3e1 100644 --- a/taxes_az/taxes_az/doctype/single_declaration_related_to_salaried_and_non_salaried_work/single_declaration_related_to_salaried_and_non_salaried_work.py +++ b/taxes_az/taxes_az/doctype/single_declaration_related_to_salaried_and_non_salaried_work/single_declaration_related_to_salaried_and_non_salaried_work.py @@ -302,12 +302,12 @@ def get_bolme2_hisse2_data(company, year, quarter): monthly_kompensasiya.append(flt(komp)) def build_row(monthly): - avg = round(sum(monthly) / 3, 2) if monthly else 0 + total = round(sum(monthly), 2) if monthly else 0 return { "1ciay": monthly[0] if len(monthly) > 0 else 0, "2ciay": monthly[1] if len(monthly) > 1 else 0, "3cüay": monthly[2] if len(monthly) > 2 else 0, - "rübüzrəortasay": avg, + "rübüzrəortasay": total, } row2 = build_row(monthly_emek)