mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-11 23:17:48 +00:00
Add 'Voucher:' before voucher code on order confirmation emails
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
- checkout_adjustments_for(@order, exclude: [:line_item]).reverse_each do |adjustment|
|
||||
%tr
|
||||
%td{align: "right", colspan: "3"}
|
||||
- if adjustment.originator_type == "Voucher"
|
||||
= "#{t(:voucher)}:"
|
||||
= "#{adjustment.label}:"
|
||||
%td{align: "right"}
|
||||
= adjustment.display_amount
|
||||
|
||||
Reference in New Issue
Block a user