Use @invoice_presenter.checkout_adjustments

This commit is contained in:
Matt-Yorkley
2023-05-09 13:49:10 +01:00
committed by Konrad
parent a44f24ad43
commit 208840b99d

View File

@@ -30,7 +30,7 @@
%td{:align => "right"}
= display_line_item_tax_rates(item)
- checkout_adjustments_for(@invoice_presenter, exclude: [:line_item]).reverse_each do |adjustment|
- @invoice_presenter.checkout_adjustments(exclude: [:line_item]).reverse_each do |adjustment|
%tr
%td
%strong= "#{raw(adjustment.label)}"