Style Rails/Pick - rubocop passes completely

This commit is contained in:
Maikel Linke
2023-04-14 16:22:46 +10:00
parent 407fca17cb
commit efb2ae6843

View File

@@ -137,7 +137,7 @@ module Reporting
order(query_result_row).all_adjustments
.tax
.where(originator_id: tax_rate_id(query_result_row))
.pluck('sum(amount)').first || 0
.pick('sum(amount)') || 0
end
def total_incl_tax(query_result_row)