[freeside-commits] branch master updated. 7b777a5bf7fcdb0f966e3789e00f646febedc60c
Ivan
ivan at 420.am
Sun Jan 25 18:38:48 PST 2015
The branch, master has been updated
via 7b777a5bf7fcdb0f966e3789e00f646febedc60c (commit)
from 4b251740b79cf9d711c126fed0d611ed9fd1ecf5 (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 7b777a5bf7fcdb0f966e3789e00f646febedc60c
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Jan 25 18:38:47 2015 -0800
due_date substitute for message template, $29881
diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm
index 5dbd591..65890e1 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 aac4cd4..7f38241 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