<% if @customer.present? %> <% @customer.estimates.order(doc_number: :desc).each do |estimate| %>
<%= link_to "##{estimate.doc_number}", estimate_path(estimate), target: :_blank %> <%= estimate.txn_date %>
<% end %> <% else %>

<%=t(:label_no_estimates)%>.

<% end %>