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_invoices.each do |invoice| %>
<div class="row">
<b><%= link_to "##{invoice.doc_number}", invoice_path(invoice) %> </b>
</div>
<% end %>
<% else %>
<p><%=t(:label_no_invoices)%>.</p>
<% end %>