Class: PayrollCalculationTemplate

Inherits:
ApplicationRecord show all
Includes:
HasProvince, PayrollCalculationTemplatesProcedures
Defined in:
app/models/payroll_calculation_template.rb

Class Method Summary collapse

Methods included from PayrollCalculationTemplatesProcedures

#create_or_update_procedure

Methods inherited from ApplicationRecord

define_decrypted_attribute, define_decrypted_attributes, #errors_in_bullet_points, primary_connection, special_connection

Class Method Details

.tag_valid?(tag) ⇒ Boolean

Returns:

  • (Boolean)


18
19
20
# File 'app/models/payroll_calculation_template.rb', line 18

def tag_valid?(tag)
  exists?(tag_sequence: tag.to_i)
end