% content_for :page_specific_css do %> <%= stylesheet_link_tag "payment/payment" %> <% end %>
<% index1 = 0 %> <% PaymentSetupList.all.asc(:created_at).each do |payment_setup_list| %> <% if !payment_setup_list.payment_type.nil? %> <% index1+=1 %> <%= '|' if index1 != 1 %> <% name1 = payment_setup_list.name.to_s %> <%= t("payment_settup.#{payment_setup_list.payment_type}")+ (name1.blank? ? '' : "-#{name1}" ) %> <% end %> <% end %> <% PaymentSetupList.all.asc(:created_at).each_with_index do |payment_setup_list,index1| %> <% if !payment_setup_list.payment_type.nil? %> <% end %> <% end %>