Module: Train::Tax::Calculator::Philhealth

Defined in:
lib/train/tax/calculator/philhealth.rb

Constant Summary collapse

MULTIPLIER =

2.75%

0.0275

Class Method Summary collapse

Class Method Details

.call(salary) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/train/tax/calculator/philhealth.rb', line 7

def self.call(salary)
  contribution = compute(salary)

  {
    employee_share: contribution,
    employer_share: contribution,
    total_share: contribution * 2.0,
  }
end