RT#38432: OFM - Send refund receipt [added template initial data]
authorJonathan Prykop <jonathan@freeside.biz>
Fri, 30 Oct 2015 00:58:54 +0000 (19:58 -0500)
committerJonathan Prykop <jonathan@freeside.biz>
Fri, 30 Oct 2015 00:58:54 +0000 (19:58 -0500)
FS/FS/msg_template/InitialData.pm

index dbb9f40..baf145d 100644 (file)
@@ -22,6 +22,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
+                      ],
+    },
   ];
 }