working on data printer
This commit is contained in:
@@ -10,11 +10,16 @@ module IdCard
|
||||
|
||||
# API Methods
|
||||
|
||||
def print_queued
|
||||
@queue_counts = EmployerCards::GetQueuedCards.new().call
|
||||
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
|
||||
def add_queued_count_to_card_configuration
|
||||
@queue_counts = EmployerCards::QueueCounter.new().call
|
||||
@queue_counts = EmployerCards::GetQueuedCounts.new().call
|
||||
@queue_counts.each do |qc|
|
||||
match = @employer_configurations.find { |configuration| configuration.pl_plan_key == qc["PLPlanKey"] }
|
||||
if match.present?
|
||||
|
||||
Reference in New Issue
Block a user