diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-06-25 00:51:02 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-03 20:54:02 -0500 |
commit | 196f6896e5da5151228ac6b923c52aa1dc90cd78 (patch) | |
tree | 2780c5db907ad1454a7ef38e4f0cbd49472810e5 /FS/FS/cust_main_Mixin.pm | |
parent | 4fe1fa31dffa6689d9cb88e2a0cda408b826b89d (diff) |
RT#34078: Payment History Report / Statement [refactor to not use msg_template]
Diffstat (limited to 'FS/FS/cust_main_Mixin.pm')
-rw-r--r-- | FS/FS/cust_main_Mixin.pm | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/FS/FS/cust_main_Mixin.pm b/FS/FS/cust_main_Mixin.pm index 83ca3a2..bdad511 100644 --- a/FS/FS/cust_main_Mixin.pm +++ b/FS/FS/cust_main_Mixin.pm @@ -394,11 +394,6 @@ HTML body Text body -=item sub_param - -Optional list of parameter hashrefs to be passed -along to L<FS::msg_template/prepare>. - =back Returns an error message, or false for success. @@ -475,8 +470,6 @@ sub email_search_result { 'cust_main' => $cust_main, 'object' => $obj, ); - $message{'sub_param'} = $param->{'sub_param'} - if $param->{'sub_param'}; } else { my @to = $cust_main->invoicing_list_emailonly; @@ -554,9 +547,7 @@ sub process_email_search_result { $param->{'search'} = thaw(decode_base64($param->{'search'})) or die "process_email_search_result requires search params.\n"; - $param->{'sub_param'} = thaw(decode_base64($param->{'sub_param'})) - or die "process_email_search_result error decoding sub_param\n" - if $param->{'sub_param'}; + # $param->{'payby'} = [ split(/\0/, $param->{'payby'}) ] # unless ref($param->{'payby'}); |