X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fmsg_template%2FInitialData.pm;h=d502b3f0c47d4ec5220427af3305825fb7a20099;hb=e2ee874843b19f6c5221f5ce0af90979dba34e57;hp=a4e27fdc90099be8298d0a31c66653c4215cda60;hpb=1401eef8b37ea9ffc6a44819a0778697c775dac3;p=freeside.git
diff --git a/FS/FS/msg_template/InitialData.pm b/FS/FS/msg_template/InitialData.pm
index a4e27fdc9..d502b3f0c 100644
--- a/FS/FS/msg_template/InitialData.pm
+++ b/FS/FS/msg_template/InitialData.pm
@@ -3,6 +3,7 @@ package FS::msg_template::InitialData;
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
@@ -18,6 +19,37 @@ If you did not request this password reset, you may safely ignore and delete thi
{ $company_name } Support
+END
+ ],
+ },
+ { msgname => 'Refund receipt',
+ msgclass => 'email',
+ mime_type => 'text/html',
+ _conf => 'refund_receipt_msgnum',
+ _insert_args => [ subject => '{ $company_name } refund receipt',
+ body => <<'END',
+Dear {$first} {$last},
+
+The following refund has been applied to your account.
+
+Refund ID: {$refundnum}
+Date: {$date}
+Amount: {$refund}
+
+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}
+Context: {$logcontext}
+
+{$logmessage}
+
END
],
},