mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Added Estimate & Invoice List to Customer view
This commit is contained in:
11
app/views/invoices/_list.html.erb
Normal file
11
app/views/invoices/_list.html.erb
Normal 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 %>
|
||||
Reference in New Issue
Block a user