diff options
author | ivan <ivan> | 2011-07-27 23:26:57 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-07-27 23:26:57 +0000 |
commit | c52f1b6999b57cc3cb52fe8e4304d0bbfbbbb2f2 (patch) | |
tree | 73513a27cf93dd036b692662d0723fe79288a7cc /httemplate/search/cust_bill.html | |
parent | fd81134f9f262894f7133ac3084d64c52a686093 (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 4f73aaf84..627703691 100755 --- a/httemplate/search/cust_bill.html +++ b/httemplate/search/cust_bill.html @@ -93,6 +93,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 ] |