Class: HrLite::TaxDeclarationItem

Inherits:
ApplicationRecord show all
Includes:
EncryptedMoney
Defined in:
app/models/hr_lite/tax_declaration_item.rb

Overview

One line of a declaration: "80C — ELSS — ₹1,50,000".

verified_amount is what the proof actually supported, which is often less than what was claimed and is the number payroll uses once HR has looked. Both are encrypted: what somebody invests is their business.

Constant Summary collapse

SECTIONS =
%w[80c 80d 80ccd_1b 24b hra other].freeze

Instance Method Summary collapse

Instance Method Details

#section_labelObject



19
20
21
22
23
# File 'app/models/hr_lite/tax_declaration_item.rb', line 19

def 
  { "80c" => "80C — investments", "80d" => "80D — health insurance",
    "80ccd_1b" => "80CCD(1B) — NPS", "24b" => "24(b) — home loan interest",
    "hra" => "HRA exemption", "other" => "Other" }.fetch(section, section)
end