Before adding workers

This commit is contained in:
Jason Jordan
2026-03-20 10:46:53 -04:00
parent 3300819ed5
commit a43c8bf6b5
70 changed files with 533 additions and 457 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
class Employer < ApplicationRecord
has_many :members
has_one :id_card_configuration, class_name: 'IdCard::Configuration', dependent: :destroy
has_one :id_card_setup, class_name: 'IdCard::Setup', dependent: :destroy
scope :active, -> { where(active: true) }
scope :inactive, -> { where(active: false) }
@@ -39,7 +39,7 @@ class Employer < ApplicationRecord
end
def id_card_enabled?
self.id_card_configuration.present?
self.id_card_setup.present?
end
def claims_check_enabled?