From f08ff59915dc9e5478e97e10824e268b0b9c3371 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 29 Oct 2015 19:58:54 -0500 Subject: [PATCH] RT#38432: OFM - Send refund receipt [added template initial data] --- FS/FS/msg_template/InitialData.pm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/FS/FS/msg_template/InitialData.pm b/FS/FS/msg_template/InitialData.pm index a4e27fdc9..7cf83d070 100644 --- a/FS/FS/msg_template/InitialData.pm +++ b/FS/FS/msg_template/InitialData.pm @@ -21,6 +21,23 @@ If you did not request this password reset, you may safely ignore and delete thi 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 + ], + }, ]; } -- 2.11.0