From f72da4abe4ffcde729bf0347435389d589332e8a Mon Sep 17 00:00:00 2001 From: Lucas Hiago Date: Sun, 19 Apr 2020 22:54:35 -0300 Subject: [PATCH] Add refund message in order cancel mail --- app/views/spree/order_mailer/cancel_email.html.haml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/spree/order_mailer/cancel_email.html.haml b/app/views/spree/order_mailer/cancel_email.html.haml index fdbda6e730..9d01d8ec87 100755 --- a/app/views/spree/order_mailer/cancel_email.html.haml +++ b/app/views/spree/order_mailer/cancel_email.html.haml @@ -21,5 +21,12 @@ = t(".details") = render 'order_summary' + +%p + - if @order.paid? + = t(".paid_order", distributor: @order.distributor.name) + - else + = t(".unpaid_order") + = render 'signoff' = render 'shared/mailers/social_and_contact'