public NetIncome( TotalMonthlyIncome totalMonthlyIncome, EmployeeHealthCareInsurance employeeHealthcareInsurance, EmployeeSocialInsurance employeeSocialInsurance, EmployeeUnemploymentInsurance employeeUnemploymentInsurance, EmployeeUnionFee employeeUnionFee, PersonalIncomeTax pit) { Amount = totalMonthlyIncome.Amount - employeeHealthcareInsurance.Amount - employeeSocialInsurance.Amount - employeeUnemploymentInsurance.Amount - employeeUnionFee.Amount - pit.Amount; }
public AssessableIncome( TaxableIncome taxableIncome, EmployeeSocialInsurance employeeSocialInsurance, EmployeeHealthCareInsurance employeeHealthCareInsurance, EmployeeUnemploymentInsurance employeeUnemploymentInsurance, EmployeeUnionFee employeeUnionFee, TotalDeduction totalDeduction) { var result = taxableIncome.Amount - employeeSocialInsurance.Amount - employeeHealthCareInsurance.Amount - employeeUnemploymentInsurance.Amount - employeeUnionFee.Amount - totalDeduction.Amount; Amount = result < Money.ZeroVND ? Money.ZeroVND : result; }