diff options
Diffstat (limited to 'httemplate/misc/maestro-customer_status-test.html')
-rw-r--r-- | httemplate/misc/maestro-customer_status-test.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/httemplate/misc/maestro-customer_status-test.html b/httemplate/misc/maestro-customer_status-test.html index 86e5b1f01..006492919 100644 --- a/httemplate/misc/maestro-customer_status-test.html +++ b/httemplate/misc/maestro-customer_status-test.html @@ -1,8 +1,8 @@ <% include('/elements/header.html', { - 'title' => "Customer $query status", + 'title' => "Customer $custnum status", }) %> -<% include('/elements/small_custview.html', $query, '', 1) %> +<% include('/elements/small_custview.html', $custnum, '', 1) %> <BR> <table style="border:1px solid #000000"> @@ -21,11 +21,11 @@ my $return; -my($query) = $cgi->keywords; -if ( $query =~ /^(\d+)$/ ) { +my($custnum, $svcnum) = $cgi->keywords; +if ( $custnum =~ /^(\d+)$/ ) { use FS::Maestro; - $return = FS::Maestro::customer_status($1); + $return = FS::Maestro::customer_status($1, $svcnum); } else { $return = { 'error' => 'No custnum' }; |