app/views/pay/user_mailer/receipt.html.erb in pay-6.0.3 vs app/views/pay/user_mailer/receipt.html.erb in pay-6.1.0
- old
+ new
@@ -1,20 +1,21 @@
-We received payment for your subscription. Thanks for your business!<br/>
+We received payment for your <%= link_to Pay.application_name, root_url %> subscription. Thanks for your business!<br/>
<br/>
Questions? Please reply to this email.<br/>
<br/>
------------------------------------<br/>
RECEIPT - SUBSCRIPTION<br/>
<br/>
+
+<%= Pay.application_name %><br/>
Amount: <%= params[:pay_charge].amount_with_currency %><br/>
<br/>
Charged to: <%= params[:pay_charge].charged_to %><br/>
Transaction ID: <%= params[:pay_charge].id %><br/>
-Date: <%= params[:pay_charge].created_at %><br/>
+Date: <%= l params[:pay_charge].created_at %><br/>
<% if params[:pay_charge].customer.owner.try(:extra_billing_info?) %>
<%= params[:pay_charge].customer.owner.extra_billing_info %><br/>
<% end %>
<br/>
<br/>
-<%= Pay.business_name %><br/>
-<%= simple_format Pay.business_address %>
+<%= simple_format [Pay.business_name, Pay.business_address].join("\n") %>
------------------------------------<br/>