From 0c5bac855e502bf2840caf76590902e73edb5115 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Tue, 17 Nov 2026 19:09:07 -0500 Subject: [PATCH] Business report: Sales tax section at the bottom Co-Authored-By: Claude Opus 5.5 --- app/views/qbo_reports/index.html.erb | 96 ++++++++++++++-------------- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/app/views/qbo_reports/index.html.erb b/app/views/qbo_reports/index.html.erb index 7a6f9dc..2ac6bfc 100644 --- a/app/views/qbo_reports/index.html.erb +++ b/app/views/qbo_reports/index.html.erb @@ -186,54 +186,6 @@ -

<%= l(:label_report_taxes) %>

-
-
-
- -
- - - <% [[:tax_invoiced, l(:label_report_tax_invoiced)], [:tax_collected, l(:label_report_tax_collected)]].each do |key, label| %> - - - - - - <% end %> - -
<%= label %> (<%= l(:label_report_taxed_invoices, count: taxes[key][:count]) %>)
<%= number_to_currency(taxes[key][:total]) %>
-

<%= l(:text_report_taxes) %>

-
-
- - - - - - - - - - <% @report.months.each do |row| %> - - - - - - <% end %> - - - - - - - - -
<%= l(:label_month) %><%= l(:label_report_tax_invoiced) %><%= l(:label_report_tax_collected) %>
<%= ::I18n.t('date.abbr_month_names')[row[:month].month] %> <%= row[:month].year %><%= number_to_currency(row[:tax_invoiced]) %><%= number_to_currency(row[:tax_collected]) %>
<%= l(:label_total) %><%= number_to_currency(taxes[:tax_invoiced][:total]) %><%= number_to_currency(taxes[:tax_collected][:total]) %>
-
-
-

<%= l(:label_report_by_month) %>

@@ -283,6 +235,54 @@
+

<%= l(:label_report_taxes) %>

+
+
+
+ +
+ + + <% [[:tax_invoiced, l(:label_report_tax_invoiced)], [:tax_collected, l(:label_report_tax_collected)]].each do |key, label| %> + + + + + + <% end %> + +
<%= label %> (<%= l(:label_report_taxed_invoices, count: taxes[key][:count]) %>)
<%= number_to_currency(taxes[key][:total]) %>
+

<%= l(:text_report_taxes) %>

+
+
+ + + + + + + + + + <% @report.months.each do |row| %> + + + + + + <% end %> + + + + + + + + +
<%= l(:label_month) %><%= l(:label_report_tax_invoiced) %><%= l(:label_report_tax_collected) %>
<%= ::I18n.t('date.abbr_month_names')[row[:month].month] %> <%= row[:month].year %><%= number_to_currency(row[:tax_invoiced]) %><%= number_to_currency(row[:tax_collected]) %>
<%= l(:label_total) %><%= number_to_currency(taxes[:tax_invoiced][:total]) %><%= number_to_currency(taxes[:tax_collected][:total]) %>
+
+
+

<%= l(:text_report_notes) %>