From: Ivan Kohler Date: Mon, 26 Jan 2015 02:38:47 +0000 (-0800) Subject: due_date substitute for message template, $29881 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=7b777a5bf7fcdb0f966e3789e00f646febedc60c due_date substitute for message template, $29881 --- diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index 5dbd591a8..65890e125 100644 --- a/FS/FS/msg_template.pm +++ b/FS/FS/msg_template.pm @@ -598,6 +598,7 @@ sub substitutions { _date _date_pretty due_date + due_date2str )], #XXX not really thinking about cust_bill substitutions quite yet diff --git a/httemplate/edit/msg_template.html b/httemplate/edit/msg_template.html index aac4cd4fd..7f3824127 100644 --- a/httemplate/edit/msg_template.html +++ b/httemplate/edit/msg_template.html @@ -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#',