From 06c24883bb2df50265db7aaf4246c2f703660886 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 9 Mar 2019 20:55:59 -0600 Subject: [PATCH] receipt email and text email --- views/emails/receipt.tpl | 8 +++---- views/emails/receipt.tpl.txt | 42 ++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 4 deletions(-) create mode 100644 views/emails/receipt.tpl.txt diff --git a/views/emails/receipt.tpl b/views/emails/receipt.tpl index bf74fc1..39bd865 100644 --- a/views/emails/receipt.tpl +++ b/views/emails/receipt.tpl @@ -55,7 +55,7 @@ -premailer-width: 100%; -premailer-cellpadding: 0; -premailer-cellspacing: 0; - background-color: #F2F4F6; + background-color: #fffffc; } .email-content { @@ -80,7 +80,7 @@ .email-masthead_name { font-size: 16px; font-weight: bold; - color: #bbbfc3; + color: #fff; text-decoration: none; text-shadow: 0 1px 0 white; } @@ -392,7 +392,7 @@ -This is a receipt for your recent purchase on {{ purchase_date }}. No payment is due with this receipt. +This is a receipt for {{ product_name }} on {{ purchase_date }}.
@@ -481,12 +481,12 @@
+

Link not working? Copy and paste the URL {{action_manage_guests_url}}

Need a printable copy for your records? You can view a copy online or print this email.

-

diff --git a/views/emails/receipt.tpl.txt b/views/emails/receipt.tpl.txt new file mode 100644 index 0000000..4788585 --- /dev/null +++ b/views/emails/receipt.tpl.txt @@ -0,0 +1,42 @@ +************** +This is a receipt for {{ product_name }} on {{ purchase_date }}. +************** + +Hi {{name}}, + +Thanks for your purchase! This email is the receipt for your purchase.{{^ credit_payment}} No payment is due.{{/credit_payment}} + +{{^ check_payment}} + Mail or drop off payment within seven days or your tickets will be released for others to purchase + + Mail to: + Attn: Dinner in the Woods + Nature's Classroom + PO Box 660 + Mukwonago, WI 53149 +{{/check_payment}} + +************** +Receipt #{{receipt_id}} +Date Purchased {{date}} +************** + +Items Purchased: +---------------- +{{#each receipt_details}} +{{description}} = {{amount}} +{{/each}} +---------------- +Total: {{total}} + +************** + +If you have any questions about this receipt, simply reply to this email for help. + +Gratefully, +Nature’s Classroom Institute and Montessori School + +Manage your guests here: {{action_manage_guests_url}} + +Need a printable copy for your records? You can view a copy online at {{action_receipt_url}} or print this email. +