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 /httemplate/search/cust_bill.html | |
| parent | a10881a4daca69112f2bd18bce0c57b934a6fefa (diff) | |
add per-customer "Invoice reports" link, RT#13802
Diffstat (limited to 'httemplate/search/cust_bill.html')
| -rwxr-xr-x | httemplate/search/cust_bill.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httemplate/search/cust_bill.html b/httemplate/search/cust_bill.html index 4e40fb06d..0e7f2110c 100755 --- a/httemplate/search/cust_bill.html +++ b/httemplate/search/cust_bill.html @@ -98,6 +98,10 @@ if ( $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/ ) { $search{'agentnum'} = $1; } + if ( $cgi->param('custnum') =~ /^(\d+)$/ ) { + $search{'custnum'} = $1; + } + # begin/end/beginning/ending my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, ''); $search{'_date'} = [ $beginning, $ending ] |
