mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Use @invoice_presenter.checkout_adjustments
This commit is contained in:
@@ -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)}"
|
||||
|
||||
Reference in New Issue
Block a user