X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fcust_bill.pm;fp=FS%2FFS%2Fcust_bill.pm;h=fe386744974e8de87932abf4609b4dc32d67c165;hp=38b1d5c6df3f65696d4bc32652e9a7f0e72bf3a2;hb=304cf07be79b45930dcd5cb49cdf24aceaa3ebd9;hpb=56501725dadae47e0592a7d0652afce526784b60 diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 38b1d5c6d..fe3867449 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -3243,7 +3243,6 @@ sub _items_payments { if ($self->conf->exists('previous_balance-payments_since')) { if ($template eq 'statement') { -print "\nCASE 3\n"; # Case 3 (see above) # Return payments timestamped between the previous and following bills @@ -3267,7 +3266,7 @@ print "\nCASE 3\n"; } else { # Case 2 (see above) # Return payments timestamped between this and the previous bill -print "\nCASE 2\n"; + my $date_start = 0; my $date_end = $self->_date;