[freeside-commits] branch FREESIDE_4_BRANCH updated. e1df3e5503eb0050b5c68fbd574f78a2f8ca62ff
Ivan
ivan at 420.am
Sat Mar 26 12:58:42 PDT 2016
The branch, FREESIDE_4_BRANCH has been updated
via e1df3e5503eb0050b5c68fbd574f78a2f8ca62ff (commit)
from 2df25d1d8a79a775f715f36c8ded11665a944a25 (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 e1df3e5503eb0050b5c68fbd574f78a2f8ca62ff
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Mar 26 12:58:41 2016 -0700
freeside inc. web services for address normalizaion and printing, RT#33849
diff --git a/FS/FS/part_event/Action/cust_bill_fsinc_print.pm b/FS/FS/part_event/Action/cust_bill_fsinc_print.pm
index 2ef564b..02e1e5a 100644
--- a/FS/FS/part_event/Action/cust_bill_fsinc_print.pm
+++ b/FS/FS/part_event/Action/cust_bill_fsinc_print.pm
@@ -4,7 +4,7 @@ use strict;
use base qw( FS::part_event::Action );
use LWP::UserAgent;
use HTTP::Request::Common qw( POST );
-use JSON::XS; #use Cpanel::JSON::XS;
+use Cpanel::JSON::XS;
use CAM::PDF;
use FS::Conf;
@@ -78,12 +78,8 @@ sub do_action {
'company_email' => scalar($conf->config('invoice_from', $agentnum)),
#to:
- 'name' => ( $cust_main->payname
- && $cust_main->payby !~ /^(CARD|DCRD|CHEK|DCHK)$/
- ? $cust_main->payname
- : $cust_main->contact_firstlast
- )
- #'name' => $cust_main->invoice_attn || $cust_main->contact_firstlast,
+ 'name' => $cust_main->invoice_attn
+ || $cust_main->contact_firstlast,
'address1' => $bill_location->address1,
'address2' => $bill_location->address2,
'city' => $bill_location->city,
@@ -101,6 +97,7 @@ sub do_action {
die $content->{error}."\n"
if $content->{error};
+
}
1;
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_event/Action/cust_bill_fsinc_print.pm | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
More information about the freeside-commits
mailing list