X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fmsg_template%2FInitialData.pm;h=d502b3f0c47d4ec5220427af3305825fb7a20099;hb=4b05b20576ddb14577d59c87c8257c6804449410;hp=87c407c35ec0984c27b8e266b5f0c517c5e3972c;hpb=c6ef5a3a043c4fafa2f8d21028609f1b9b70eb47;p=freeside.git diff --git a/FS/FS/msg_template/InitialData.pm b/FS/FS/msg_template/InitialData.pm index 87c407c35..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 @@ -21,12 +22,34 @@ If you did not request this password reset, you may safely ignore and delete thi 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},
+
+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 ], },