<% # encoding: utf-8 %> <% content_for :right_nav do %> <% end %> <% @table_fields.each do |f| %> <%= thead(f) %> <% end %> <% @nkuht_donates.each do |nkuht_donate| %> <% end %>
<%= nkuht_donate.donation_payment_number %> <%= nkuht_donate.donation_serial_date %> <%= nkuht_donate.name %>
<%= number_to_currency(nkuht_donate.donation_amount, unit: '', precision: 0) %> <%= t("nkuht_donate_ways.ways#{nkuht_donate.donation_way}") if !nkuht_donate.donation_way.blank? %> <%= nkuht_donate.donate_public.blank? ? t('nkuht_donate.donate_public_no_') : t('nkuht_donate.donate_public_yes_') %> <%= nkuht_donate.nkuht_donate_unit.title if !nkuht_donate.nkuht_donate_unit.blank? %> <%= if !nkuht_donate.nkuht_donate_use.blank? if nkuht_donate.nkuht_donate_use.title == '其他' || nkuht_donate.nkuht_donate_use.title == 'Other' "#{nkuht_donate.nkuht_donate_use.title}(#{nkuht_donate.donation_use_other})" else nkuht_donate.nkuht_donate_use.title end end %> <%= nkuht_donate.donation_payment_status ? t('nkuht_donate.yes_') : t('nkuht_donate.no_') %> <%= nkuht_donate.donation_write_off_status ? t('nkuht_donate.yes_') : t('nkuht_donate.no_') %>
<%= content_tag :div, class: "bottomnav clearfix" do content_tag :div, paginate(@nkuht_donates), class: "pagination pagination-centered" end %>