X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_main.pm;h=7594fa85245a10aa7f1703fd227cb938a2f56ed6;hb=e151a538a611ed5aa3c08164cebc7230e5fa0da1;hp=c3b141e1bed2d99149b78f78bd587cc56f5c5cde;hpb=81bad22dc70a9277331d2d15ff25810f615c4a92;p=freeside.git diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm index c3b141e1b..7594fa852 100644 --- a/FS/FS/cust_main.pm +++ b/FS/FS/cust_main.pm @@ -3131,6 +3131,7 @@ sub charge { my ( $setuptax, $taxclass ); #internal taxes my ( $taxproduct, $override ); #vendor (CCH) taxes my $no_auto = ''; + my $separate_bill = ''; my $cust_pkg_ref = ''; my ( $bill_now, $invoice_terms ) = ( 0, '' ); my $locationnum; @@ -3153,7 +3154,8 @@ sub charge { $bill_now = exists($_[0]->{bill_now}) ? $_[0]->{bill_now} : ''; $invoice_terms = exists($_[0]->{invoice_terms}) ? $_[0]->{invoice_terms} : ''; $locationnum = $_[0]->{locationnum} || $self->ship_locationnum; - } else { + $separate_bill = $_[0]->{separate_bill} || ''; + } else { # yuck $amount = shift; $setup_cost = ''; $quantity = 1; @@ -3221,6 +3223,7 @@ sub charge { 'quantity' => $quantity, 'start_date' => $start_date, 'no_auto' => $no_auto, + 'separate_bill' => $separate_bill, 'locationnum'=> $locationnum, } );