sub _initial_data {
[
{ msgname => 'Password reset',
+ msgclass => 'email',
mime_type => 'text/html', #multipart/alternative with a text part?
# cranky mutt/pine users like me are rare
END
],
},
- { msgname => 'payment_history_template',
+ { msgname => 'Refund receipt',
+ msgclass => 'email',
mime_type => 'text/html',
- _conf => 'payment_history_msgnum',
- _insert_args => [ subject => '{ $company_name } payment history',
+ _conf => 'refund_receipt_msgnum',
+ _insert_args => [ subject => '{ $company_name } refund receipt',
body => <<'END',
-{ $payment_history }
+Dear {$first} {$last},<BR>
+<BR>
+The following refund has been applied to your account.<BR>
+<BR>
+Refund ID: {$refundnum}<BR>
+Date: {$date}<BR>
+Amount: {$refund}<BR>
+
+END
+ ],
+ },
+ { msgname => 'System log',
+ msgclass => 'email',
+ mime_type => 'text/html',
+ _upgrade_journal => 'system_log_email_template',
+ _insert_args => [ subject => '{ $company_name } system log',
+ body => <<'END',
+Level: {$loglevel}<BR>
+Context: {$logcontext}<BR>
+<BR>
+{$logmessage}<BR>
+
END
],
},