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

<%=t(:label_no_estimates)%>.

<% end %>