mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
21 lines
768 B
Plaintext
21 lines
768 B
Plaintext
= render 'header', intro: t("email_so_failed_payment_intro_html")
|
|
|
|
%p.callout
|
|
= t("email_so_failed_payment_explainer_html", distributor: @order.distributor.name)
|
|
= t("email_so_edit_false_html",
|
|
orders_close_at: l(@order.order_cycle.orders_close_at, format: "%a %b %d @ %l:%M%p"),
|
|
order_url: spree.order_url(@order))
|
|
= t("email_so_contact_distributor_html", distributor: @order.distributor.name, email: @order.distributor.contact.email)
|
|
|
|
- if @order.errors.any?
|
|
%p
|
|
%h4
|
|
= t :email_confirm_customer_number_html, number: @order.number
|
|
%p
|
|
= t("email_so_failed_payment_details_html", distributor: @order.distributor.name)
|
|
- @order.errors.full_messages.each do |message|
|
|
= message
|
|
%br
|
|
|
|
= render 'spree/order_mailer/signoff'
|