changed some code for contract

This commit is contained in:
Harry Bomrah 2017-09-19 19:18:45 +08:00
parent d1c8eeb790
commit 1000a1a98f
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<% @contracts.each do |contract| %> <% @contracts.each do |contract| %>
<% site = contract.get_site if contract.type == "existing" %> <% site = contract.get_site if contract.site_request.type == "existing" %>
<tr> <tr>
<td><%= contract.uid %> <td><%= contract.uid %>
<td><%= contract.contract_user.name %></td> <td><%= contract.contract_user.name %></td>