mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-02-13 01:03:59 -05:00
Refactor estimates and invoices rendering to use local variables for the abilty for other plugins to display filtered lists
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<% if @customer.present? %>
|
||||
<% if estimates.empty? %>
|
||||
|
||||
<% @customer.estimates.order(id: :desc).each do |estimate| %>
|
||||
<% estimates.sort.reverse.each do |estimate| %>
|
||||
<div class="row">
|
||||
<b><%= link_to "##{estimate.doc_number}", estimate_path(estimate), target: :_blank %></b> <%= estimate.txn_date %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user