projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#38432: OFM - Send refund receipt [added template initial data]
[freeside.git]
/
FS
/
FS
/
msg_template
/
InitialData.pm
diff --git
a/FS/FS/msg_template/InitialData.pm
b/FS/FS/msg_template/InitialData.pm
index
87c407c
..
baf145d
100644
(file)
--- 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',
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
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
],
},
END
],
},
- { msgname => 'payment_history_template',
+ { msgname => 'Refund receipt',
+ msgclass => 'email',
mime_type => 'text/html',
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',
body => <<'END',
-{ $payment_history }
+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
],
},
END
],
},