Хөгжүүлэлтийн алба 0 mailing list archives

if payslip.salary_type == 'las [...]

by
Жамц.Үүрцайх
- 03/12/2019 08:34:27

if payslip.salary_type == 'last_salary':
    result = TOTALGROSS + HCHTA_ND + HCHTA_COMPANY - DEDALL + categories.NET_VACATION + PAYABLE - SALARY_PAYABLE
else:
    result = TOTALGROSS + HCHTA_ND + HCHTA_COMPANY - DEDALL + PAYABLE - SALARY_PAYABLE
    if 0 > (TOTALGROSS + HCHTA_ND + HCHTA_COMPANY - DEDALL):
        result = 0
    else:
        result = TOTALGROSS + HCHTA_ND + HCHTA_COMPANY - DEDALL+BEFFORE_SALARY_DIFF