From 01629c3c934f1f6fd2ab9de5f7638f671fd59791 Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Fri, 25 May 2012 13:38:07 -0700 Subject: customer bill/ship location refactoring, #940 --- FS/FS/msg_template.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'FS/FS/msg_template.pm') diff --git a/FS/FS/msg_template.pm b/FS/FS/msg_template.pm index 62bcebc..c3e781a 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) } ], -- cgit v1.1