diff options
author | Mark Wells <mark@freeside.biz> | 2012-05-25 13:38:07 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-05-25 13:38:18 -0700 |
commit | 01629c3c934f1f6fd2ab9de5f7638f671fd59791 (patch) | |
tree | e20740d482c8ce8f47731b3213c65e7910e267f2 /FS/FS/msg_template.pm | |
parent | f2c26594352302de80c2cd0cbba8b0e2abada6f7 (diff) |
customer bill/ship location refactoring, #940
Diffstat (limited to 'FS/FS/msg_template.pm')
-rw-r--r-- | FS/FS/msg_template.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index 62bcebcc8..c3e781a2f 100644 --- a/FS/FS/msg_template.pm +++ b/FS/FS/msg_template.pm @@ -485,6 +485,11 @@ sub substitutions { signupdate dundate packages recurdates ), + #compatibility: obsolete ship_ fields + map ( { [ "ship_$_" => sub { shift->$_ } ] } + qw( last first company name name_short contact contact_firstlast + daytime night fax ) + ), [ expdate => sub { shift->paydate_epoch } ], #compatibility [ signupdate_ymd => sub { $ymd->(shift->signupdate) } ], [ dundate_ymd => sub { $ymd->(shift->dundate) } ], |