Employers

<%= link_to new_employer_path, class: "flex justify-center items-center h-8 w-8 ml-2 mb-6 text-sm text-bronze bg-deepcove hover:bg-cobalt font-semibold p-1 -l border-2 border-cobalt" do %> <%= icon "clipboard-plus", library: "lucide" %> <% end %>
<% if @not_automation_ready.present? || @missing_keychain_initialization.present? || @missing_plans_initialization.present? || @missing_members_initialization.present? %>

In Process:

<% no_employers_text = @not_automation_ready.present? ? "" : " NONE" %>

<%= "Waiting for Groups Number/Pl Plan Key:#{no_employers_text}" %>

<% @not_automation_ready.each_with_index do |emp, index| %>
<%= link_to emp.name, employer_path(emp.slug), class: "text-bronze hover:text-platinum" %>
<%= "(Effective #{emp.effective_date})" %>
<% end %>
<% no_employers_text = @missing_keychain_initialization.present? ? "" : " NONE" %>

<%= "Waiting for Employer to be created in VHCS:#{no_employers_text}" %>

<% @missing_keychain_initialization.each_with_index do |emp, index| %>
<%= link_to emp.name, employer_path(emp.slug), class: "text-verdigris-vivid hover:text-platinum" %>
<%= "(Effective #{emp.effective_date})" %>
<% end %>
<% no_employers_text = @missing_plans_initialization.present? ? "" : " NONE" %>

<%= "Waiting for Plans to be created in VHCS:#{no_employers_text}" %>

<% @missing_plans_initialization.each_with_index do |emp, index| %>
<%= link_to emp.name, employer_path(emp.slug), class: "text-copper hover:text-platinum" %>
<%= "(Effective #{emp.effective_date})" %>
<% end %>
<% no_employers_text = @missing_members_initialization.present? ? "" : " NONE" %>

<%= "Waiting for Inital Members to be created in VHCS:#{no_employers_text}" %>

<% @missing_members_initialization.each_with_index do |emp, index| %>
<%= link_to emp.name, employer_path(emp.slug), class: "text-bluemana hover:text-platinum" %>
<% member_counter_color = "text-".concat(emp.members.present? ? "limegreen" : "brightlava") %>
Members: <%= emp.members.count %>
<%= "(Effective #{emp.effective_date})" %>
<% end %>
<% end %>

Live:

<% @active_with_active_id_card_setup.order(:name).each_with_index do |emp, index| %>
<%= link_to emp.name, employer_path(emp.slug), class: "text-atmosphere hover:text-platinum" %>
Members: <%= emp.members.count %>
<% end %>

Deactivated:

<% @deactivated.each_with_index do |emp, index| %>
<%= link_to emp.name, employer_path(emp.slug), class: "text-platinum hover:text-bluemana" %>
Members: <%= emp.members.count %>
<% end %>