<% if estimates.empty? %> <% estimates.sort.reverse.each do |estimate| %>
<%= link_to "##{estimate.doc_number}", estimate_path(estimate), target: :_blank %> <%= estimate.txn_date %>
<% end %> <% else %>

<%=t(:label_no_estimates)%>.

<% end %>