Added Estimate & Invoice List to Customer view

This commit is contained in:
ricky committed 2022-02-19 21:19:08 -05:00
1 parent 49d2ed8244
commit a459d84b00
4 files changed
+40 -2

No files matched your search

+11
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 %>