<%= render partial: 'shared/header', locals: { links: []} %> <% provide(:title, 'NTH System Home') %>

トップページ




<%= form_for(@memo) do |f| %>
<%= f.submit "保存", class: "w8-button l-blue small"%> <%= f.text_area :memo_long, class: "top_memo", size: "500x50" %>
<% end %>
<% if !@eset.nil? %> <%= link_to "ESET一覧", show_list_eset_path(5), class: "w8-button l-blue small3" %>


<% @eset.each do |g| %>
<%= g.name %>
<%= g.last_update %>
<% end %> <% end %>
<% if !@utm.nil? %> <%= link_to "UTM一覧", show_list_ss3000_path(5), class: "w8-button l-blue small3" %>


<% @utm.each do |g| %>
<%= g.name.truncate(12) %>
<%= g.memo7 %>
<%= g.memo13 %>
<% end %> <% end %>
<% if !@lease.nil? %> <%= link_to "契約情報一覧", goods_show_lease_path(51,52,-1,5), class: "w8-button l-blue small3" %>


<% @lease.each do |g| %>
<%= Customer.find(g.memo4.to_i).name.truncate(12) %>
<%= g.name.truncate(10) %>
<%= g.memo1 %>
<% end %> <% end %>
<% if !@ups.nil? %> <%= link_to "UPS一覧", show_ups_path(1), class: "w8-button l-blue small3" %>


<% @ups.each do |g| %>
<%= g.name.truncate(12) %>
<%= g.memo13 %>
<% end %> <% end %>
<% if !@server.nil? %> <%= link_to "Server一覧", show_server_path(1), class: "w8-button l-blue small3" %>


<% @server.each do |g| %>
<%= g.name.truncate(12) %>
<%= g.memo13 %>
<% end %> <% end %>
<% if @router.count > 0 %> <%= link_to "Router一覧", show_router_path(1), class: "w8-button l-blue small3" %>


<% @router.each do |g| %>
<%= g.name.truncate(15) %>
<%= g.last_update %>
<% end %>

<% end %> <% if @car.count > 0 %> <%= link_to "車両一覧", show_car_path(1), class: "w8-button l-blue small3" %>


<% @car.each do |g| %>
<%= g.memo1 %>
<%= g.memo12 %>
<%= g.memo27 + "/" + g.memo26 + "km" %>
<% end %>

<% end %> <% if @payment.count > 0 %> <%= link_to "支払一覧", payment_path(@year, @month, 1), class: "w8-button l-blue small3" %>


<% @payment.each do |g| %>
<%= g.name.truncate(15) %>
<%= g.date2 %>
<% end %> <% end %>

<% if @receit.count > 0 %> <%= link_to "請求一覧", receit_path(@year, @month, 1), class: "w8-button l-blue small3" %>


<% @receit.each do |g| %>
<%= g.name.truncate(15) %>
<%= g.date2 %>
<% end %> <% end %>