include order email and phone number in email for shop

This commit is contained in:
Maikel Linke
2015-09-03 14:46:08 +10:00
parent ced254919a
commit 23355d1a25

View File

@@ -19,9 +19,10 @@
%h4
Order confirmation
%strong ##{@order.number}
%p
%h5
%strong= "#{@order.bill_address.firstname} #{@order.bill_address.lastname}"
completed the following order at your shopfront:
= " <#{@order.email}>" if @order.email
= @order.bill_address.phone if @order.bill_address.phone
= render 'order_summary'
= render 'payment'