mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04: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 parent
f1bdf59697
commit
92460392b9
3 files changed
+8
-9
No files matched your search
@@ -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