summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill.html
diff options
context:
space:
mode:
authorivan <ivan>2011-07-27 23:27:15 +0000
committerivan <ivan>2011-07-27 23:27:15 +0000
commitc4b71bc4459cb7d403cbebede470aeb2c6292a6e (patch)
tree4de250dcaeb9d87aeb83476b59b1d20a83c52dff /httemplate/search/cust_bill.html
parent0317d666dca468a5495541cf394ab001dcd4a77c (diff)
add per-customer "Invoice reports" link, RT#13802
Diffstat (limited to 'httemplate/search/cust_bill.html')
-rwxr-xr-xhttemplate/search/cust_bill.html4
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 ]