create credits by selecting line items, RT#18676
[freeside.git] / httemplate / misc / maestro-customer_status.html
1 <% objToJson( $return ) %>
2 <%init>
3
4 my $return;
5
6 my($custnum, $svcnum) = $cgi->keywords;
7 if ( $custnum =~ /^(\d+)$/ ) {
8
9   use FS::Maestro;
10   $return = FS::Maestro::customer_status($1, $svcnum);
11
12 } else {
13   $return = { 'error' => 'No custnum' };
14 }
15
16 </%init>