Files
redmine_qbo/app/views/invoices/_list.html.erb
2022-02-20 17:26:24 -05:00

12 lines
299 B
Plaintext

<% if @customer.present? %>
<% @customer.qbo_invoices.each do |invoice| %>
<div class="row">
<b><%= link_to "##{invoice.doc_number}", invoice_path(invoice), target: :_blank %></b> <%= invoice.txn_date %>
</div>
<% end %>
<% else %>
<p><%=t(:label_no_invoices)%>.</p>
<% end %>