[freeside-commits] branch FREESIDE_3_BRANCH updated. ef175582574b8ec5cb6fe24d11b2643647c7e4fc
Ivan
ivan at 420.am
Sun Jan 25 18:38:50 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via ef175582574b8ec5cb6fe24d11b2643647c7e4fc (commit)
from 3d9e6c01fa1b21884e6166920cb2f76f60e91aa8 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ef175582574b8ec5cb6fe24d11b2643647c7e4fc
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Jan 25 18:38:49 2015 -0800
due_date substitute for message template, $29881
diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm
index bc21e65..ef30946 100644
--- a/FS/FS/msg_template.pm
+++ b/FS/FS/msg_template.pm
@@ -597,6 +597,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 6c9d2f4..c6b2a7d 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#',
-----------------------------------------------------------------------
Summary of changes:
FS/FS/msg_template.pm | 1 +
httemplate/edit/msg_template.html | 3 +++
2 files changed, 4 insertions(+)
More information about the freeside-commits
mailing list