<% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data @venue_management_contract = data["venue_management_contract"] @params = data['params'] %> <% case_no = (@venue_management_contract.case_no.nil? ? t(:empty) : @venue_management_contract.case_no) %> <% if !@venue_management_contract.venue_management_files.blank? %> <% end %> <% if !@venue_management_contract.venue_management_links.blank? %> <% end %>
<%= t('vm_contract.case_no') %><%= case_no %>
<%= t('vm_inviting.type') %> <%= @venue_management_contract.display_tags %>
<%= t('venue_management.contractor') %> <%= @venue_management_contract.display_contractors %>
<%= t('vm_inviting.rents') %> <%= "#{@venue_management_contract.early_rent} / #{@venue_management_contract.operation_rent}" %>
<%= t('vm_inviting.royalty') %> <%= @venue_management_contract.royalty %>
<%= t('vm_inviting.house_land_tax_payer') %> <%= t("vm_inviting.enums.#{@venue_management_contract.house_tax_payer}")+"/"+t("vm_inviting.enums.#{@venue_management_contract.land_tax_payer}") %>
<%= t('vm_contract.renewal_permission') %> <%= @venue_management_contract.renewal_permission.present? ? t("vm_contract.renewal.#{@venue_management_contract.renewal_permission}") : t("vm_contract.renewal.false") %>
<%= t('vm_contract.start_end') %> <%= "#{@venue_management_contract.contract_start_date} ~ #{@venue_management_contract.contract_end_date}" %>
<%= t('vm_contract.construction_start_end') %> <%= "#{@venue_management_contract.construction_start_date} ~ #{@venue_management_contract.construction_end_date}" %>
<%= t('vm_contract.operation_start_end') %> <%= "#{@venue_management_contract.operation_start_date} ~ #{@venue_management_contract.operation_end_date}" %>
<%= t('vm_contract.free_period_start_end') %> <%= "#{@venue_management_contract.free_period_start_date} ~ #{@venue_management_contract.free_period_end_date}" %>
<%= t('vm_contract.sign_date') %> <%= @venue_management_contract.sign_date %>
<%= t('vm_contract.handover_date') %> <%= @venue_management_contract.handover_date %>
<%= t('vm_contract.deposit_payment_date') %> <%= @venue_management_contract.deposit_payment_date %>
<%= t('vm_contract.deposit_type') %> <%= @venue_management_contract.deposit_type %>
<%= t('vm_contract.deposit_exp_date') %> <%= @venue_management_contract.deposit_exp_date %>
<%= t('vm_contract.insurance_type') %> <%= @venue_management_contract.insurance_type %>
<%= t('vm_contract.insurance_payment_deadline') %> <%= @venue_management_contract.insurance_payment_deadline %>
<%= t('vm_contract.insurance_payment_date') %> <%= @venue_management_contract.insurance_payment_date %>
<%= t('vm_contract.other_commitment') %> <%= @venue_management_contract.other_commitment %>
<%= t('vm_contract.note') %> <%= @venue_management_contract.note %>
<%= t(:file_) %> <% @venue_management_contract.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_contract.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' %>