Added Estimate & Invoice List to Customer view

This commit is contained in:
2022-02-19 21:19:08 -05:00
parent 49d2ed8244
commit a459d84b00
4 changed files with 40 additions and 2 deletions

View File

@@ -0,0 +1,11 @@
<% if @customer.present? %>
<% @customer.qbo_estimates.each do |estimate| %>
<div class="row">
<b><%= link_to "##{estimate.doc_number}", estimate_path(estimate) %> </b>
</div>
<% end %>
<% else %>
<p><%=t(:label_no_estimates)%>.</p>
<% end %>