Files
openfoodnetwork/app/views/spree/order_mailer/cancel_email.html.haml
2020-05-18 22:53:46 -03:00

30 lines
682 B
Plaintext
Executable File

%table.social.white-bg.fullwidth
%table.column
%tr
%td
%h3
= t(".customer_greeting", name: @order.bill_address.firstname)
%h4
= t(".instructions_html", distributor: @order.distributor.name )
%img{src: "#{@order.distributor.logo.url(:medium)}"}
%p.callout
= t(".dont_cancel", email: @order.distributor.contact.email)
%p  
%h4
= t(".order_summary_canceled_html", number: @order.number)
%p
= 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'