X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_credit.pm;h=ba279a26c2d74be3828b2e8d9edec8ea2ec95b75;hb=7b5a266236857fbb4bbf8d4ac3031c3fec75cac2;hp=082b0f256f1fe75b376f1bb46f231afe5d968b6d;hpb=2be0687ad93376100101bb270d7ff838b91a869a;p=freeside.git diff --git a/FS/FS/cust_credit.pm b/FS/FS/cust_credit.pm index 082b0f256..ba279a26c 100644 --- a/FS/FS/cust_credit.pm +++ b/FS/FS/cust_credit.pm @@ -646,7 +646,6 @@ Example: use FS::cust_bill_pkg; sub credit_lineitems { my( $class, %arg ) = @_; - warn Data::Dumper::Dumper \%arg; my $curuser = $FS::CurrentUser::CurrentUser; #some false laziness w/misc/xmlhttp-cust_bill_pkg-calculate_taxes.html @@ -718,7 +717,7 @@ sub credit_lineitems { my %cust_bill_pkg = (); my %cust_credit_bill_pkg = (); my %taxlisthash = (); - my %unapplied_payments; #invoice numbers, and then billpaynums + my %unapplied_payments = (); #invoice numbers, and then billpaynums foreach my $billpkgnum ( @{$arg{billpkgnums}} ) { my $setuprecur = shift @{$arg{setuprecurs}}; my $amount = shift @{$arg{amounts}};