Fix bugs.

This commit is contained in:
BoHung Chiu 2020-08-11 17:12:31 +08:00
parent e2450e96b1
commit 63925f6666
2 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,8 @@
<td><%= contract.venue_management_main.title %></td>
<% end %>
<td>
<%= link_to contract.case_no, (@venue_management_page_url.blank? ? "#" : "/#{I18n.locale}"+@venue_management_page_url+"/#{contract.case_no.strip}-#{contract.id}?method=show_contract"), :target => '_self' %>
<% case_no = (contract.case_no.nil? ? t(:empty) : contract.case_no) %>
<%= link_to case_no, (@venue_management_page_url.blank? ? "#" : "/#{I18n.locale}"+@venue_management_page_url+"/#{case_no.to_s.strip}-#{contract.id}?method=show_contract"), :target => '_self' %>
<div class="quick-edit">
<ul class="nav nav-pills">

View File

@ -11,7 +11,8 @@
<tbody>
<tr>
<th class="venue_managementive-title-field"><%= t('vm_contract.case_no') %></th>
<td class="venue_managementive-title-value"><%= @venue_management_contract.venue_management_inviting.case_no %></td>
<% case_no = (@venue_management_contract.case_no.nil? ? t(:empty) : @venue_management_contract.case_no) %>
<td class="venue_managementive-title-value"><%= case_no %></td>
</tr>
<tr>
<th class="venue_managementive-title-field"><%= t('vm_inviting.type') %></th>