X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fmaestro-customer_status-test.html;h=0064929196ed48f88118f95eb912e980debce0b6;hb=fb8915cce4be9520c00cc53c659e34abfb6172e1;hp=a75b88acb15cf9847c80d9a02f3ea48ad3010454;hpb=07da9c4c33b9ff573780052fc8994b492bb7bafb;p=freeside.git diff --git a/httemplate/misc/maestro-customer_status-test.html b/httemplate/misc/maestro-customer_status-test.html index a75b88acb..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) %>
@@ -11,7 +11,7 @@ % $value = join(', ', @$value) if ref($value) eq 'ARRAY'; - + % }
<% $key %>:<% $return->{$key} %><% $value %>
@@ -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' };