Show last payment method in order confirmations

This commit is contained in:
Maikel Linke
2020-02-18 10:45:12 +11:00
parent 799c1f08de
commit 11fbe7d5c9

View File

@@ -8,7 +8,7 @@
= t :email_payment_summary
%h4
= t :email_payment_method
%strong= @order.payments.first.andand.payment_method.andand.name.andand.html_safe
%strong= OrderPaymentFinder.last_payment_method(@order)&.name
%p
%em= @order.payments.first.andand.payment_method.andand.description.andand.html_safe
%em= OrderPaymentFinder.last_payment_method(@order)&.description
%p