diff options
author | ivan <ivan> | 2011-07-27 23:27:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-07-27 23:27:26 +0000 |
commit | b1c1559dec0570bc401ccd0e29e66a9bf6f151e1 (patch) | |
tree | 6d68d40fb8c4bb8a3a55aec077f2b56dc31abd1d /FS | |
parent | a10881a4daca69112f2bd18bce0c57b934a6fefa (diff) |
add per-customer "Invoice reports" link, RT#13802
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/cust_bill.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 32c2cb1a8..f5219c06a 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -5082,6 +5082,11 @@ sub search_sql_where { push @search, "cust_main.agentnum = $1"; } + #agentnum + if ( $param->{'custnum'} =~ /^(\d+)$/ ) { + push @search, "cust_bill.custnum = $1"; + } + #_date if ( $param->{_date} ) { my($beginning, $ending) = @{$param->{_date}}; |