X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fmsg_template%2FInitialData.pm;h=baf145d8b33c1de3ede8d2fd221fd0a4e05c5737;hb=7b53b47c6422721dc9490467b29ce2d0a319c9d0;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..baf145d8b 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,20 @@ 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 ], },