summaryrefslogtreecommitdiff
path: root/FS/FS/msg_template.pm
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2015-02-23 11:09:12 -0800
committerMark Wells <mark@freeside.biz>2015-02-23 11:09:12 -0800
commit6b15465e49ec8404ae6716953e19bfdca0ba9a9d (patch)
treebbd062e26f0aa65c37d7b701f53eeb31bc3ce2b0 /FS/FS/msg_template.pm
parent467dfa2d10e8e54bb162554c8f11dca65ec5b565 (diff)
use a message template for invoice_email_pdf message body, #31786
Diffstat (limited to 'FS/FS/msg_template.pm')
-rw-r--r--FS/FS/msg_template.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm
index 94d478f..9599e4f 100644
--- a/FS/FS/msg_template.pm
+++ b/FS/FS/msg_template.pm
@@ -601,8 +601,9 @@ sub substitutions {
_date
_date_pretty
due_date
- due_date2str
- )],
+ ),
+ [ due_date2str => sub { shift->due_date2str('short') } ],
+ ],
#XXX not really thinking about cust_bill substitutions quite yet
# for welcome and limit warning messages