diff --git a/lib/reporting/reports/orders_and_fulfillment/order_cycle_customer_totals.rb b/lib/reporting/reports/orders_and_fulfillment/order_cycle_customer_totals.rb index 298df7daa7..8a538dfe23 100644 --- a/lib/reporting/reports/orders_and_fulfillment/order_cycle_customer_totals.rb +++ b/lib/reporting/reports/orders_and_fulfillment/order_cycle_customer_totals.rb @@ -172,7 +172,7 @@ module Reporting return '' unless voucher_applicable?(order) voucher = order.voucher_adjustments.take.originator - voucher&.code.to_s # in case if we don't get the voucher, return "" + voucher.code.to_s end def voucher_amount(order)