summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-10-29 19:58:54 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-10-29 20:13:29 -0500
commitf08ff59915dc9e5478e97e10824e268b0b9c3371 (patch)
tree5170fa94949401653b5c3cd7d1d479b718fcac7f /FS
parent2df5397554b352e5b4133d33849fba9edfa9ef4e (diff)
RT#38432: OFM - Send refund receipt [added template initial data]
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/msg_template/InitialData.pm17
1 files changed, 17 insertions, 0 deletions
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},<BR>
+<BR>
+The following refund has been applied to your account.<BR>
+<BR>
+Refund ID: {$refundnum}<BR>
+Date: {$date}<BR>
+Amount: {$refund}<BR>
+
+END
+ ],
+ },
];
}