@@ -135,7 +147,9 @@
- <%= f.text_field :deposit_type %>
+ <% select_fields = ["現金(支票)","設定質權之金融機構定期存款單","銀行書面連帶保證","其他(可填入資料)"] %>
+ <%= f.select :deposit_type, options_for_select(select_fields,(select_fields.include?(@venue_management_contract.deposit_type) ? @venue_management_contract.deposit_type : "其他(可填入資料)")) %>
+ <%= f.text_field :deposit_type , :value => (select_fields.include?(@venue_management_contract.deposit_type) ? "" : @venue_management_contract.deposit_type) ,:style => (select_fields.include?(@venue_management_contract.deposit_type) ? "display:none" : "") , :id => 'venue_management_contract_deposit_type_text' %>
@@ -241,5 +255,29 @@
}
})
})
+ var venue_management_inviting_tags_relations = JSON.parse('<%=VenueManagementInviting.all.select{|v| !v.case_no.blank?}.map{|v| [v.id.to_s,(v.tags.map{|t| t.name}.join(" , ") rescue "")]}.to_h.to_json.html_safe %>');
+ $('[name="venue_management_contract[venue_management_inviting_id]"]').click(function(){
+ var tag_names = venue_management_inviting_tags_relations[$(this).val()];
+ if(tag_names != undefined){
+ $("#vm_inviting_type").html(tag_names);
+ }else{
+ $("#vm_inviting_type").html("");
+ }
+ })
+ $('select[name="venue_management_contract[deposit_type]"]').click(function(){
+ var select_index = $(this).find('option[value="'+$(this).val()+'"]').index();
+ if(select_index == $(this).find("option").eq(-1).index()){
+ $("#venue_management_contract_deposit_type_text").css("display",'');
+ }else{
+ $("#venue_management_contract_deposit_type_text").css("display",'none');
+ }
+ })
+ $(".wrap-inner form").submit(function(){
+ var $select = $('select[name="venue_management_contract[deposit_type]"]');
+ var select_index = $select.find('option[value="'+$select.val()+'"]').index();
+ if(select_index != $select.find("option").eq(-1).index()){
+ $("#venue_management_contract_deposit_type_text").remove();
+ }
+ })
})
\ No newline at end of file
diff --git a/app/views/admin/venue_management_contracts/_index.html.erb b/app/views/admin/venue_management_contracts/_index.html.erb
index e6ab6c7..c53e4e7 100644
--- a/app/views/admin/venue_management_contracts/_index.html.erb
+++ b/app/views/admin/venue_management_contracts/_index.html.erb
@@ -30,7 +30,13 @@
-
<%= contract.vendor %> |
+
<%= contract.display_tags %> |
+
<%= contract.display_contractors %> |
+
+
<%= "#{contract.early_rent} / #{contract.operation_rent}" %> |
+
+
<%= contract.royalty %> |
+
<%= "#{contract.contract_start_date} / #{contract.contract_end_date}" %> |
<%= contract.renewal_permission.present? ? t("vm_contract.renewal.#{contract.renewal_permission}") : t("vm_contract.renewal.false") %> |
<%= contract.note %> |
diff --git a/app/views/admin/venue_management_invitings/_form.html.erb b/app/views/admin/venue_management_invitings/_form.html.erb
index 62be368..1eeee0d 100644
--- a/app/views/admin/venue_management_invitings/_form.html.erb
+++ b/app/views/admin/venue_management_invitings/_form.html.erb
@@ -80,7 +80,7 @@
- <%= f.number_field :royalty %>
+ <%= f.text_field :royalty %>
diff --git a/app/views/admin/venue_management_invitings/_index.html.erb b/app/views/admin/venue_management_invitings/_index.html.erb
index bddbc60..3a69cd5 100644
--- a/app/views/admin/venue_management_invitings/_index.html.erb
+++ b/app/views/admin/venue_management_invitings/_index.html.erb
@@ -30,11 +30,12 @@
+
<%= inviting.tags.map{|t| t.name}.join(" , ") rescue "" %> |
<%= inviting.publish_times %> |
+
<%= inviting.start_date.to_s + "/" + inviting.end_date.to_s %> |
<%= "#{inviting.early_rent} / #{inviting.operation_rent}" %> |
<%= inviting.royalty %> |
-
<%= t("vm_inviting.enums.#{inviting.house_tax_payer}") %> |
-
<%= t("vm_inviting.enums.#{inviting.land_tax_payer}") %> |
+
<%= t("vm_inviting.enums.#{inviting.house_tax_payer}") + "/" + t("vm_inviting.enums.#{inviting.land_tax_payer}") %> |
<%= inviting.contractor_manager %> |
<%= t("vm_inviting.enums.bid_result.#{inviting.bid_result}") %> |
diff --git a/app/views/admin/venue_management_memorabilias/_index.html.erb b/app/views/admin/venue_management_memorabilias/_index.html.erb
index 0624cde..4fe15df 100644
--- a/app/views/admin/venue_management_memorabilias/_index.html.erb
+++ b/app/views/admin/venue_management_memorabilias/_index.html.erb
@@ -19,7 +19,7 @@
<%= memorabilia.venue_management_main.title %> |
<% end %>
- <%= link_to memorabilia.case_no, admin_venue_management_memorabilia_path(memorabilia.id), :target => '_blank' %>
+ <%= link_to (memorabilia.case_no.blank? ? t("empty") : @venue_management_page_url.blank? ? "" : memorabilia.case_no), ("/#{I18n.locale}"+@venue_management_page_url+"/#{memorabilia.case_no.to_s.strip}-#{memorabilia.id}?method=show_memorabilia") , :target => '_blank' %>
<% if can_edit_or_delete?(memorabilia) %>
diff --git a/app/views/admin/venue_managements/_form.html.erb b/app/views/admin/venue_managements/_form.html.erb
index c905571..9ffaaf4 100644
--- a/app/views/admin/venue_managements/_form.html.erb
+++ b/app/views/admin/venue_managements/_form.html.erb
@@ -20,6 +20,19 @@
.input-append input{
width: 150px;
}
+ .display_infos{
+ padding-top: 0.3em;
+ }
+ .venue_managementive-title-field{
+ font-size: 14px;
+ font-weight: normal;
+ }
+ .venue_managementive-title-value{
+ display: block;
+ }
+ tr.control-group{
+ display: block;
+ }
-
-
- <%= render partial: 'admin/member_selects/email_selection_box', locals: {field: 'venue_management_main[contractor_ids][]', email_members:Array(@contractors), index:'2',select_name:'contractors'} %>
+
+
+ <%= f.object.display_event_during %>
-
-
-
-
- <%= f.datetime_picker :venue_management_start_date, :no_label => true, :format=>"yyyy/MM/dd", :new_record => @venue_management.new_record? %>
+
+
+ <%= f.object.display_signup_during %>
-
-
-
-
- <%= f.datetime_picker :venue_management_end_date, :no_label => true, :format=>"yyyy/MM/dd", :new_record => @venue_management.new_record? %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%= render partial: 'admin/member_selects/email_selection_box', locals: {field: 'venue_management_main[coordinator_ids][]', email_members:Array(@coordinators), index:'3',select_name:'coordinators'} %>
-
-
-
-
-
-
-
- <%= f.datetime_picker :signup_start_date, :no_label => true, :format=>"yyyy/MM/dd", :new_record => @venue_management.new_record? %>
-
-
-
-
-
-
- <%= f.datetime_picker :signup_end_date, :no_label => true, :format=>"yyyy/MM/dd", :new_record => @venue_management.new_record? %>
-
-
-
-
-
-
-
- <%= f.datetime_picker :contribute_start_date, :no_label => true, :format=>"yyyy/MM/dd", :new_record => @venue_management.new_record? %>
-
-
-
-
-
-
- <%= f.datetime_picker :contribute_end_date, :no_label => true, :format=>"yyyy/MM/dd", :new_record => @venue_management.new_record? %>
-
-
-
-
-
-
- <%= f.text_field :contribute_file_count %>
- (<%= t('venue_management.blank_no_limit') %>)
-
-
-
+ <% @venue_management_contract = f.object.venue_management_contracts.desc(:id).first %>
+ <% if !@venue_management_contract.nil? %>
+
+
+
+ <%= t('vm_contract.case_no') %> |
+ <%= @venue_management_contract.venue_management_inviting.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 %> |
+
+ <% if !@venue_management_contract.venue_management_files.blank? %>
+
+ <%= 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 %>
+ |
+
+ <% end %>
+ <% if !@venue_management_contract.venue_management_links.blank? %>
+
+ <%= 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 %>
+ |
+
+ <% end %>
+
+
+ <% end %>
- <%= t(:delete_) %>
<% end %>
|
-
<%= VenueManagementMain.time_range(venue_management.venue_management_start_date, venue_management.venue_management_end_date) %> |
-
<%= VenueManagementMain.time_range(venue_management.signup_start_date, venue_management.signup_end_date) %> |
+
<%= venue_management.display_contractors %> |
+
<%= venue_management.display_event_during %> |
+
<%= venue_management.display_signup_during %> |
<%= link_to venue_management.venue_management_contracts.count, venue_management_contracts_admin_venue_management_path(venue_management.id) %>
|
diff --git a/app/views/venue_managements/index.html.erb b/app/views/venue_managements/index.html.erb
index 21da889..7e92504 100644
--- a/app/views/venue_managements/index.html.erb
+++ b/app/views/venue_managements/index.html.erb
@@ -13,10 +13,11 @@
<%= t(:category) %> |
+ <%= t('vm_inviting.type') %> |
<%= t('venue_management.title') %> |
- <%= t('venue_management_signup.time') %> |
- <%= t('venue_management_signup.place') %> |
- <%= t('venue_management.signup') %> |
+ <%= t('venue_management.contractor') %> |
+ <%= t('venue_management.event_during') %> |
+ <%= t('venue_management.signup_during') %> |
@@ -34,28 +35,16 @@
end
%>
- <%= venue_management.category.title %> |
- <%= ('' + venue_management.title + '').html_safe %> |
- <%= VenueManagementMain.time_range(venue_management.venue_management_start_date, venue_management.venue_management_end_date) %> |
- <%= venue_management.act_place %> |
-
- <%= sign_up %>
-
- <%=
- if !venue_management.registration_status.blank? and venue_management.registration_status.include?('C') and venue_management.contribute_start_date <= @time_now and ( venue_management.contribute_end_date.nil? or venue_management.contribute_end_date+1 >= @time_now )
- if !session[:venue_management_signup_id].blank?
- if session[:venue_management_main_id] == venue_management.id
- ('' + t('venue_management_signup.uploads') + '').html_safe
- else
- ('' + t('venue_management_signup.con_login') + '').html_safe
- end
- else
- ('' + t('venue_management_signup.con_login') + '').html_safe
- end
- end
- %>
- |
-
+
+ <%= venue_management.category.title %> |
+ <%= venue_management.display_tags %> |
+
+ <%= venue_management.title %>
+ |
+ <%= venue_management.display_contractors %> |
+ <%= venue_management.display_event_during %> |
+ <%= venue_management.display_signup_during %> |
+
<% end %>
diff --git a/app/views/venue_managements/show_contract.html.erb b/app/views/venue_managements/show_contract.html.erb
index 641491c..014471f 100644
--- a/app/views/venue_managements/show_contract.html.erb
+++ b/app/views/venue_managements/show_contract.html.erb
@@ -13,6 +13,14 @@
<%= t('vm_contract.case_no') %> |
<%= @venue_management_contract.venue_management_inviting.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}" %> |
@@ -23,12 +31,8 @@
- <%= t('vm_inviting.house_tax_payer') %> |
- <%= t("vm_inviting.enums.#{@venue_management_contract.house_tax_payer}") %> |
-
-
- <%= t('vm_inviting.land_tax_payer') %> |
- <%= t("vm_inviting.enums.#{@venue_management_contract.land_tax_payer}") %> |
+ <%= 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') %> |
diff --git a/app/views/venue_managements/show_data.html.erb b/app/views/venue_managements/show_data.html.erb
index 7ce2ba0..4c9f4f4 100644
--- a/app/views/venue_managements/show_data.html.erb
+++ b/app/views/venue_managements/show_data.html.erb
@@ -85,16 +85,126 @@
<%= item_content.content.html_safe %> |
<% end %>
+
+ <% @venue_management_contract = @venue_management.venue_management_contracts.desc(:id).first %>
+ <% if !@venue_management_contract.nil? %>
+
+ <%= t('vm_contract.case_no') %> |
+ <%= @venue_management_contract.venue_management_inviting.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 %> |
+
+ <% if !@venue_management_contract.venue_management_files.blank? %>
+
+ <%= 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 %>
+ |
+
+ <% end %>
+ <% if !@venue_management_contract.venue_management_links.blank? %>
+
+ <%= 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 %>
+ |
+
+ <% end %>
+ <% end %>
-
+
@@ -121,7 +231,7 @@
<%= link_to contract.case_no, "/#{I18n.locale}"+@params[:url]+"/#{contract.case_no.strip}-#{contract.id}?method=show_contract" , :target => '_blank' %>
|
-
<%= contract.vendor %> |
+
<%= contract.display_contractors %> |
<%= "#{contract.contract_start_date} / #{contract.contract_end_date}" %> |
<%= contract.renewal_permission.present? ? t("vm_contract.renewal.#{contract.renewal_permission}") : t("vm_contract.renewal.false") %> |
<%= contract.note %> |
@@ -130,6 +240,41 @@
+
+
+
+
+
+
+ <%
+ @table_fields = [
+ 'vm_memorabilia.case_no',
+ 'vm_memorabilia.event_date',
+ 'vm_memorabilia.details'
+ ]
+ @memorabilias = @venue_management.venue_management_memorabilias.to_a
+ %>
+
+
+
+ <% @table_fields.each do |th| %>
+ <%=t(th)%> |
+ <% end %>
+
+
+
+ <% @memorabilias.each do |memorabilia| %>
+
+
+ <%= link_to memorabilia.case_no, "/#{I18n.locale}"+@params[:url]+"/#{memorabilia.case_no.to_s.strip}-#{memorabilia.id}?method=show_memorabilia", :target => '_blank' %>
+ |
+ <%= memorabilia.event_date %> |
+ <%= memorabilia.details %> |
+
+ <% end %>
+
+
+
@@ -142,8 +287,7 @@
'vm_inviting.publish_times',
'vm_inviting.rents',
'vm_inviting.royalty',
- 'vm_inviting.house_tax_payer',
- 'vm_inviting.land_tax_payer',
+ 'vm_inviting.house_land_tax_payer',
'vm_inviting.contractor_manager',
'vm_inviting.bid_result',
]
@@ -166,8 +310,7 @@
<%= inviting.publish_times %> |
<%= "#{inviting.early_rent} / #{inviting.operation_rent}" %> |
<%= inviting.royalty %> |
-
<%= t("vm_inviting.enums.#{inviting.house_tax_payer}") %> |
-
<%= t("vm_inviting.enums.#{inviting.land_tax_payer}") %> |
+
<%= t("vm_inviting.enums.#{inviting.house_tax_payer}") + "/" + t("vm_inviting.enums.#{inviting.land_tax_payer}") %> |
<%= inviting.contractor_manager %> |
<%= t("vm_inviting.enums.bid_result.#{inviting.bid_result}") %> |
diff --git a/app/views/venue_managements/show_inviting.html.erb b/app/views/venue_managements/show_inviting.html.erb
index 1436843..f7a7b5e 100644
--- a/app/views/venue_managements/show_inviting.html.erb
+++ b/app/views/venue_managements/show_inviting.html.erb
@@ -30,12 +30,8 @@
<%= @venue_management_inviting.royalty %> |
- <%= t('vm_inviting.house_tax_payer') %> |
- <%= t("vm_inviting.enums.#{@venue_management_inviting.house_tax_payer}") %> |
-
-
- <%= t('vm_inviting.land_tax_payer') %> |
- <%= t("vm_inviting.enums.#{@venue_management_inviting.land_tax_payer}") %> |
+ <%= 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') %> |
diff --git a/app/views/venue_managements/show_memorabilia.html.erb b/app/views/venue_managements/show_memorabilia.html.erb
new file mode 100644
index 0000000..8e63ed5
--- /dev/null
+++ b/app/views/venue_managements/show_memorabilia.html.erb
@@ -0,0 +1,47 @@
+<% # encoding: utf-8 %>
+<% @@session = session %>
+<%= yield %>
+<%
+ data = action_data
+ @venue_management_memorabilia = data["venue_management_memorabilia"]
+ @params = data['params']
+%>
+
+
+
+ <%= t('vm_memorabilia.case_no') %> |
+ <%= @venue_management_memorabilia.case_no %> |
+
+
+ <%= t('vm_memorabilia.event_date') %> |
+ <%= @venue_management_memorabilia.event_date %> |
+
+
+ <%= t('vm_memorabilia.details') %> |
+ <%= @venue_management_memorabilia.details %> |
+
+ <% if !@venue_management_memorabilia.venue_management_files.blank? %>
+
+ <%= t(:file_) %> |
+
+ <% @venue_management_memorabilia.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 %>
+ |
+
+ <% end %>
+ <% if !@venue_management_memorabilia.venue_management_links.blank? %>
+
+ <%= t(:link) %> |
+
+ <% @venue_management_memorabilia.venue_management_links.map do |link| %>
+ <%= link_to (link.title.blank? ? link.url : link.title), link.url, :target => '_blank' %>
+ <% end %>
+ |
+
+ <% end %>
+
+
+
+
+<%= link_to t(:close), 'javascript:window.close();', :class => 'btn btn-primary' %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 06f0281..bc70c71 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -9,6 +9,9 @@ en:
venue_management_submission_field: VenueManagement Submission Field
venue_management_signup_field: VenueManagement Signup Field
venue_management_signup: Signup Analyze
+ venue_management_memorabilias: Memorabilia
+ venue_management_invitings: Inviting History
+ venue_management_contracts: Contract History
module_name:
venue_management: Outsourced Venue Management #場地管理系統
@@ -160,6 +163,8 @@ en:
royalty: Royalty
house_tax_payer: House Tax Payer
land_tax_payer: Land Tax Payer
+ house_land_tax_payer: House Tax/Land Tax Payer
+ start_end: Start/End Date
contractor_manager: Contractor Manager
bid_result: Bid Result
details: Details
diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml
index f1c178d..aadf6ae 100644
--- a/config/locales/zh_tw.yml
+++ b/config/locales/zh_tw.yml
@@ -9,6 +9,9 @@ zh_tw:
venue_management_submission_field: 上傳介面欄位
venue_management_signup_field: 報名欄位
venue_management_signup: 報名統計
+ venue_management_memorabilias: 大事記
+ venue_management_invitings: 招商公告
+ venue_management_contracts: 履約記錄
module_name:
venue_management: 場地管理系統
@@ -160,6 +163,8 @@ zh_tw:
royalty: 權利金
house_tax_payer: 房屋稅負擔方
land_tax_payer: 地價稅負擔方
+ house_land_tax_payer: 房屋稅/地價稅負擔方
+ start_end: 公告開始/結束日期
contractor_manager: 招商承辦人
bid_result: 開標結果
details: 其他說明
@@ -169,7 +174,7 @@ zh_tw:
bid_result:
failure: 流標
abandoned: 廢標
- qualified: 合格續行評審
+ qualified: 決標
vm_memorabilia:
case_no: 相關案號
event_date: 事件日期