Display changes for contract
This commit is contained in:
parent
20594d651c
commit
0cfa83a9f7
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>Scan?</th>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
|
@ -14,6 +15,11 @@
|
||||||
|
|
||||||
<% @contracts.sort_by{|r| [r.last_name] }.each do |contract| %>
|
<% @contracts.sort_by{|r| [r.last_name] }.each do |contract| %>
|
||||||
<tr>
|
<tr>
|
||||||
|
<td>
|
||||||
|
<% unless contract.document.blank? %>
|
||||||
|
<span class="glyphicon glyphicon-ok"></span>
|
||||||
|
<% end %>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<%= contract.last_name %>,
|
<%= contract.last_name %>,
|
||||||
<%= contract.first_name %>
|
<%= contract.first_name %>
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
|
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
<%= @contract.full_name %>
|
<%= @contract.first_name %>
|
||||||
|
<%= @contract.last_name %>
|
||||||
<%= link_to "(#{@contract.user.name})", @contract.user if @contract.user %>
|
<%= link_to "(#{@contract.user.name})", @contract.user if @contract.user %>
|
||||||
<small>
|
<small>
|
||||||
signed
|
signed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user