%= render partial: 'shared/header', locals:
{ links: [["ライセンス管理", license_path],
["BB-Excite一覧", '#']]} %>
<%= form_for(Good.new) do |f| %>
<%= link_to '顧客名', show_excite_path(@sort1) %>
<%= link_to '在庫数', show_excite_path(@sort2) %>
<%= link_to '契約開始日', show_excite_path(@sort3) %>
<%= link_to '解約日', show_excite_path(@sort4) %>
<% @sum.each do |customer| %>
<% history = customer[1][0] %>
<% good = Good.find(history.good_id) %>
<% memo10 = good.memo10 %>
<% memo10 = "" if memo10.nil? %>
<%= history.memo5 %>
<%= customer[1][1] %>
<%= history.date %>
<%= history.date2 %>
<%= link_to '詳細', excite_show_path(customer[0]), class: "w8-button l-blue del" %>
<% end %>
<% end %>
<%= link_to "項目追加", set_excite_path(@new_good), class: "w8-button l-blue small" %>