lib/train/tax/calculator.rb in train-tax-calculator-2.3.0 vs lib/train/tax/calculator.rb in train-tax-calculator-2.3.1

- old
+ new

@@ -8,9 +8,11 @@ module Train module Tax module Calculator def self.call(basic_salary) + return 0.00 if basic_salary <= 0 + hash = Hash.new hash[:sss] = Sss.compute_employee_share(basic_salary) hash[:pagibig] = Pagibig.compute(basic_salary) hash[:philhealth] = Philhealth.compute(basic_salary)