changed some code for contract
This commit is contained in:
parent
d1c8eeb790
commit
1000a1a98f
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue