<%= render partial: 'shared/header', locals: { links: [["ライセンス管理", license_path], ["windows一覧", '#']]} %>
<%= link_to "顧客別 Windows一覧", "#", class: "w8-button grey small3" %> <%= link_to "Windows ID一覧", show_list_windows_path(1), class: "w8-button l-blue small3" %> <% if false %> <% @type_id2.each do |type2| %> <%= link_to type2[0], goods_show_license_path(@id1, type2[1], -1), class: "w8-button grey small3" if @id2 == type2[1] %> <%= link_to type2[0], goods_show_license_path(@id1, type2[1], -1), class: "w8-button l-blue small3" if @id2 != type2[1] %> <% end %>


<% @type_id3.each do |type3| %> <%= link_to type3[0], goods_show_license_path(@id1, @id2, type3[1]), class: "w8-button grey small3" if @id3 == type3[1] %> <%= link_to type3[0], goods_show_license_path(@id1, @id2, type3[1]), class: "w8-button l-blue small3" if @id3 != type3[1] %> <% end %> <% end %>




<%= @category.name %>一覧


<%= form_for(Good.new) do |f| %>

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

<%= link_to '在庫数', show_windows_path(@sort2) %>

<%= link_to '最終更新', show_windows_path(@sort3) %>

<% @sum.each do |customer| %> <% history = customer[1][0] %> <% good = Good.find(history.good_id) %>
<%= history.memo5 %>
<%= customer[1][1] %>
<%= history.date %>
<%= link_to '詳細', windows_show_path(history.memo4), class: "w8-button l-blue del" %>
<% end %>
<% end %>



<%= link_to "項目追加", set_windows_path(@new_good), class: "w8-button l-blue small" %>