%= render partial: 'shared/header', locals:
{ links: [["ライセンス管理", license_path],
["Office一覧", '#']]} %>
<%= form_for(Good.new) do |f| %>
<%= link_to '顧客名', show_office_path(@sort1) %>
<%= link_to '在庫数', show_office_path(@sort2) %>
<%= link_to '最終更新', show_office_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 '詳細', office_show_path(customer[0]), class: "w8-button l-blue del" %>
<% end %>
<% end %>
<%= link_to "項目追加", set_office_path(@new_good), class: "w8-button l-blue small" %>