% # encoding: utf-8 %> <% @@session = session %> <%= yield %> <% data = action_data @venue_management_bill = data["venue_management_bill"] @params = data['params'] %>
<%= t('venue_management.title') %> | <%= @venue_management_bill.venue_management_main.title %> |
---|---|
<%= t('vm_bill.contractor') %> | <% contractors = @venue_management_bill.contractor.display_contractors rescue "" %> <% contractors = t(:empty) if contractors.blank? %> <%= contractors %> |
<%= t('vm_bill.accounting_month') %> | <%= @venue_management_bill.display_accounting_month %> |
<%= t('vm_bill.bill_type') %> | <%= "#{t("vm_bill.#{@venue_management_bill.bill_typeA}")}/#{t("vm_bill.#{@venue_management_bill.bill_typeB}")}" %> <% if @venue_management_bill.bill_typeB == 'other' && @venue_management_bill.bill_other.present? %> -<%=@venue_management_bill.bill_other%> <% end %> |
<%= t('vm_bill.caculation_basis') %> | <%= @venue_management_bill.display_caculation_basis %> |
<%= t('vm_bill.reason') %> | <%= @venue_management_bill.reason %> |
<%= t('vm_bill.total_amount') %> | <%= @venue_management_bill.total_amount %> |
<%= t('vm_bill.pay_date') %> | <%= @venue_management_bill.pay_date %> |
<%= t('vm_bill.pay_method') %> | <%= @venue_management_bill.pay_method %> |
<%= t('vm_bill.note') %> | <%= @venue_management_bill.note %> |
<%= t(:file_) %> | <% @venue_management_bill.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_bill.venue_management_links.map do |link| %> <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %> <% end %> |