lib/train/tax/calculator.rb in train-tax-calculator-2.2.1 vs lib/train/tax/calculator.rb in train-tax-calculator-2.2.2

- old
+ new

@@ -14,10 +14,10 @@ hash[:sss] = Sss.compute_employee_share(basic_salary) hash[:pagibig] = Pagibig.compute(basic_salary) hash[:philhealth] = Philhealth.compute(basic_salary) hash[:total_deductions] = Deductions.get(basic_salary) - hash[:withholding_tax] = WithholdingTax.compute(hash[:total_deductions], basic_salary) + hash[:withholding_tax] = WithholdingTax.compute(basic_salary) hash[:net_income] = basic_salary - hash[:withholding_tax] hash end