due_date substitute for message template, $29881
authorIvan Kohler <ivan@freeside.biz>
Mon, 26 Jan 2015 02:38:49 +0000 (18:38 -0800)
committerIvan Kohler <ivan@freeside.biz>
Mon, 26 Jan 2015 02:38:49 +0000 (18:38 -0800)
FS/FS/msg_template.pm
httemplate/edit/msg_template.html

index bc21e65..ef30946 100644 (file)
@@ -597,6 +597,7 @@ sub substitutions {
       _date
       _date_pretty
       due_date
+      due_date2str
     )],
     #XXX not really thinking about cust_bill substitutions quite yet
     
index 6c9d2f4..c6b2a7d 100644 (file)
@@ -242,6 +242,9 @@ my %substitutions = (
   ],
   'cust_bill' => [
     '$invnum'         => 'Invoice#',
+    '$_date_pretty'   => 'Invoice date',
+    '$due_date'       => 'Invoice due date (timestamp)',
+    '$due_date2str'   => 'Invoice due date (human readable)',
   ],
   'cust_pkg' => [
     '$pkgnum'         => 'Package#',