<% content_for :page_menu do %> <% end %>

History

Requests Contracts Purchases

Requests

<% @objects.each do |obj| %>
<% case obj.type %> <% when "newsite" %> New Site <% when "existing" %> New Request for <%= obj.get_site.title %> <% when "addsites" %> Request for adding sites <% end %>
Request ID: <%= obj.uid %> <% if obj.type == "existing" %> <%= obj.get_site.site_domain %> <% end %> Time :  <%= obj.created_at.strftime("%d %B %Y - %H:%M") %>
Requested <% if !obj.completed %> Cancel <% else %> <% if (obj.type == "newsite" || obj.type == "existing") && !obj.request_contract.nil? %> Contract <% end %> <% end %>
<% end %>