<% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data @venue_management_inviting = data["venue_management_inviting"] @params = data['params'] %> <% if !@venue_management_inviting.venue_management_files.blank? %> <% end %> <% if !@venue_management_inviting.venue_management_links.blank? %> <% end %>
<%= t('vm_inviting.type') %> <%= @venue_management_inviting.tags.map{|t| t.name}.join(" , ") %>
<%= t('vm_inviting.case_no') %> <%= @venue_management_inviting.display_case_no %>
<%= t('vm_inviting.publish_times') %> <%= @venue_management_inviting.publish_times %>
<%= t('vm_inviting.start_end') %> <%= @venue_management_inviting.start_date.to_s + "/" + @venue_management_inviting.end_date.to_s %>
<%= t('vm_inviting.close_date') %> <%= @venue_management_inviting.display_close_date %>
<%= t('vm_inviting.bid_date') %> <%= @venue_management_inviting.display_bid_date %>
<%= t('vm_inviting.evaluation_date') %> <%= @venue_management_inviting.display_evaluation_date %>
<%= t('vm_inviting.rents') %> <%= "#{@venue_management_inviting.early_rent} / #{@venue_management_inviting.operation_rent}" %>
<%= t('vm_inviting.royalty') %> <%= @venue_management_inviting.display_royalty %>
<%= t('vm_inviting.house_land_tax_payer') %> <%= t("vm_inviting.enums.#{@venue_management_inviting.house_tax_payer}")+"/"+t("vm_inviting.enums.#{@venue_management_inviting.land_tax_payer}") %>
<%= t('vm_inviting.contractor_manager') %> <%= @venue_management_inviting.contractor_manager %>
<%= t('vm_inviting.bid_result') %> <%= t("vm_inviting.enums.bid_result.#{@venue_management_inviting.bid_result}") %>
<%= t('vm_inviting.details') %> <%= @venue_management_inviting.details %>
<%= t(:file_) %> <% @venue_management_inviting.venue_management_files.map do |file| %> <%= link_to (file.title.blank? ? File.basename(file.file.path) : file.title) , file.file.url, {:target => '_blank', :title => file.description} if file.file.file %> <% end %>
<%= t(:link) %> <% @venue_management_inviting.venue_management_links.map do |link| %> <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %> <% end %>

<%= link_to t(:close), 'javascript:window.close();', :class => 'btn btn-primary' %>