mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
desc sort issues, estimates, & invoices
This commit is contained in:
1 parent
925d4b8bcf
commit
3ae3107760
3 files changed
+3
-3
No files matched your search
@@ -1,6 +1,6 @@
|
||||
<% if @customer.present? %>
|
||||
|
||||
<% @customer.qbo_estimates.each do |estimate| %>
|
||||
<% @customer.qbo_estimates.order(doc_number: :desc).each do |estimate| %>
|
||||
<div class="row">
|
||||
<b><%= link_to "##{estimate.doc_number}", estimate_path(estimate), target: :_blank %></b> <%= estimate.txn_date %>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<% if @customer.present? %>
|
||||
|
||||
<% @customer.qbo_invoices.each do |invoice| %>
|
||||
<% @customer.qbo_invoices.order(doc_number: :desc).each do |invoice| %>
|
||||
<div class="row">
|
||||
<b><%= link_to "##{invoice.doc_number}", invoice_path(invoice), target: :_blank %></b> <%= invoice.txn_date %>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user