From c3a62e53fcb2c953c07735e1cb8741467d6fcdbf Mon Sep 17 00:00:00 2001 From: Cillian O'Ruanaidh Date: Thu, 30 Nov 2023 20:29:15 +0000 Subject: [PATCH] If not display supplier column in the order cycle report, reduce number of columns in totals row by one too to keep columns aligned --- app/views/producer_mailer/order_cycle_report.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/producer_mailer/order_cycle_report.html.haml b/app/views/producer_mailer/order_cycle_report.html.haml index d379c1499e..889f7fedf4 100644 --- a/app/views/producer_mailer/order_cycle_report.html.haml +++ b/app/views/producer_mailer/order_cycle_report.html.haml @@ -53,7 +53,8 @@ #{Spree::Money.new(line_items.sum(&:included_tax), currency: line_items.first.currency) } %tr.total-row %td - %td + - if @distributors_pickup_times.many? + %td %td %td %td