projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ticket #36913 fix formatting in debian rules file
[freeside.git]
/
httemplate
/
misc
/
maestro-customer_status-test.html
diff --git
a/httemplate/misc/maestro-customer_status-test.html
b/httemplate/misc/maestro-customer_status-test.html
index
86e5b1f
..
0064929
100644
(file)
--- a/
httemplate/misc/maestro-customer_status-test.html
+++ b/
httemplate/misc/maestro-customer_status-test.html
@@
-1,8
+1,8
@@
<% include('/elements/header.html', {
<% 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">
<BR>
<table style="border:1px solid #000000">
@@
-21,11
+21,11
@@
my $return;
my $return;
-my($
query
) = $cgi->keywords;
-if ( $
query
=~ /^(\d+)$/ ) {
+my($
custnum, $svcnum
) = $cgi->keywords;
+if ( $
custnum
=~ /^(\d+)$/ ) {
use FS::Maestro;
use FS::Maestro;
- $return = FS::Maestro::customer_status($1);
+ $return = FS::Maestro::customer_status($1
, $svcnum
);
} else {
$return = { 'error' => 'No custnum' };
} else {
$return = { 'error' => 'No custnum' };