<%= render partial: 'shared/header', locals: { links: [["ライセンス管理", license_path], ["BB-Excite一覧", '#']]} %>
<%= link_to "顧客別 BB-Excite覧", show_excite_path(1), class: "w8-button l-blue small3" %> <%= link_to "BB-Excite ID一覧", "#", class: "w8-button grey small3" %>




<%= @category.name %>一覧


<%= link_to '顧客名', show_list_excite_path(@sort1) %>

<%= link_to '接続ID', show_list_excite_path(@sort3) %>

接続password

<%= link_to '契約開始日', show_list_excite_path(@sort5) %>

<%= link_to '解約日', show_list_excite_path(@sort6) %>

<% @list.each do |good| %> <% memo2 = good.memo2 %> <% memo2 = "" if memo2.nil? %> <% memo3 = good.memo3 %> <% memo3 = "" if memo3.nil? %> <% memo6 = good.memo6 %> <% memo6 = "" if memo6.nil? %> <% memo7 = good.memo7 %> <% memo7 = "" if memo7.nil? %> <% memo10 = good.memo10 %> <% memo10 = "" if memo10.nil? %> <% memo12 = good.memo12 %> <% memo12 = "" if memo12.nil? %> <% memo13 = good.memo13 %> <% memo13 = "" if memo13.nil? %> <% memo14 = good.memo14 %> <% memo14 = "" if memo14.nil? %> <% customer = "" %> <% good.good_histories.each do |history| %> <% customer = history.memo5 if !history.memo5.nil? %> <% end %> <% next if customer == "" %>

<%= customer.truncate(30) %>

<%= memo6.truncate(30) %>

<%= memo7.truncate(30) %>

<%= memo13 %>

<%= memo14 %>

<% if true %>
<%= link_to '設定', set_excite_path(good), class: "w8-button l-blue del" %>
<% else %>
<%= link_to '詳細', good_path(good), class: "w8-button l-blue del" %>
<%= link_to '編集', '#', class: "w8-button l-blue del" %>
<%= link_to '削除', '#', class: "w8-button l-blue del" %>
<% end %>
<% end %>




<% if false %>
<%= link_to "項目追加", goods_new_path(@id), class: "w8-button l-blue small" %>
<% end %>