summaryrefslogtreecommitdiff
path: root/httemplate/misc/maestro-customer_status.html
diff options
context:
space:
mode:
authorivan <ivan>2010-07-27 06:51:44 +0000
committerivan <ivan>2010-07-27 06:51:44 +0000
commit2bbfc3379be19a01094d55ac6ba53a1360f1797f (patch)
treeebd884d0194fea8f8bae2d576026b5c2efd1eda6 /httemplate/misc/maestro-customer_status.html
parent2b96da0344fe5f46caf80257890312de444d935b (diff)
extend maestro status API for the multi-service scenario, RT#9334
Diffstat (limited to 'httemplate/misc/maestro-customer_status.html')
-rw-r--r--httemplate/misc/maestro-customer_status.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/httemplate/misc/maestro-customer_status.html b/httemplate/misc/maestro-customer_status.html
index 0c45bcd4b..8acae2b2a 100644
--- a/httemplate/misc/maestro-customer_status.html
+++ b/httemplate/misc/maestro-customer_status.html
@@ -3,11 +3,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' };