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/estimates/_list.html.erb
Normal file
11
app/views/estimates/_list.html.erb
Normal 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 %>
|
||||
Reference in New Issue
Block a user