Files
redmine_qbo/app/views/estimates/_list.html.erb
2022-03-09 21:31:56 -05:00

12 lines
327 B
Plaintext

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