diff options
Diffstat (limited to 'httemplate/misc/maestro-customer_status.html')
-rw-r--r-- | httemplate/misc/maestro-customer_status.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/httemplate/misc/maestro-customer_status.html b/httemplate/misc/maestro-customer_status.html new file mode 100644 index 000000000..8acae2b2a --- /dev/null +++ b/httemplate/misc/maestro-customer_status.html @@ -0,0 +1,16 @@ +<% objToJson( $return ) %> +<%init> + +my $return; + +my($custnum, $svcnum) = $cgi->keywords; +if ( $custnum =~ /^(\d+)$/ ) { + + use FS::Maestro; + $return = FS::Maestro::customer_status($1, $svcnum); + +} else { + $return = { 'error' => 'No custnum' }; +} + +</%init> |