X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fcust_bill_pkg.pm;h=6551ca82934034bcebb06f492a0eab074a76de4d;hb=01629c3c934f1f6fd2ab9de5f7638f671fd59791;hp=f196a0a220d2548cb040e6ad380857615c506f24;hpb=4cc0b69a94138d85b1ff8b67966127af3c72288d;p=freeside.git diff --git a/FS/FS/cust_bill_pkg.pm b/FS/FS/cust_bill_pkg.pm index f196a0a22..6551ca829 100644 --- a/FS/FS/cust_bill_pkg.pm +++ b/FS/FS/cust_bill_pkg.pm @@ -1082,9 +1082,9 @@ and 'setuprecur' (set to "setup" or "recur" to limit to one or the other). sub owed_sql { my ($class, $start, $end, %opt) = @_; my $charged = - $opt{setuprecur} =~ /^s/ ? 'setup' : - $opt{setuprecur} =~ /^r/ ? 'recur' : - 'setup + recur'; + $opt{setuprecur} =~ /^s/ ? 'cust_bill_pkg.setup' : + $opt{setuprecur} =~ /^r/ ? 'cust_bill_pkg.recur' : + 'cust_bill_pkg.setup + cust_bill_pkg.recur'; if ( $opt{no_usage} ) { $charged .= ' - ' . $class->usage_sql;