Before adding workers
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
module EmployerCards
|
||||
class GetQueuedCards
|
||||
|
||||
def initialize(pl_plan_keys = nil)
|
||||
if pl_plan_keys
|
||||
@employer_pl_plan_keys = pl_plan_keys
|
||||
else
|
||||
@employer_pl_plan_keys = IdCard::Configuration.active.pluck(:pl_plan_key).join(',')
|
||||
end
|
||||
end
|
||||
|
||||
def call
|
||||
CallStoredProc.new('BrittonGetQueuedIdCardMemberKeysTPA', { PLPlanKeys: @employer_pl_plan_keys }).call.to_ary
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
@@ -1,13 +0,0 @@
|
||||
module EmployerCards
|
||||
class GetQueuedCounts
|
||||
|
||||
def initialize()
|
||||
@employer_pl_plan_keys = IdCard::Configuration.active.pluck(:pl_plan_key).join(',')
|
||||
end
|
||||
|
||||
def call
|
||||
CallStoredProc.new('BrittonGetQueuedIdCardCountsTPA', { PLPlanKeys: @employer_pl_plan_keys }).call.to_ary
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
@@ -5,7 +5,7 @@ module EmployerCards
|
||||
@pl_plan_key = pl_plan_key
|
||||
@family_id = family_id
|
||||
@layout = layout
|
||||
@card_config = IdCard::Configuration.find_by(pl_plan_key: pl_plan_key)
|
||||
@card_setup = IdCard::Setup.find_by(pl_plan_key: pl_plan_key)
|
||||
end
|
||||
|
||||
def call
|
||||
|
||||
Reference in New Issue
Block a user