[freeside-commits] freeside/httemplate/misc maestro-customer_status-test.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Mon Jul 26 18:48:25 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/misc
In directory wavetail.420.am:/tmp/cvs-serv9076/httemplate/misc
Added Files:
maestro-customer_status-test.html
Log Message:
add test page for maestro status, RT#9381
--- NEW FILE: maestro-customer_status-test.html ---
<% include('/elements/header.html', {
'title' => "Customer $query status",
}) %>
<% include('/elements/small_custview.html', $query, '', 1) %>
<BR>
<table style="border:1px solid #000000">
% foreach my $key (keys %$return) {
<TR>
<TD ALIGN="right"><% $key %>:</TD>
<TD><B><% $return->{$key} %></B></TD>
</TR>
% }
</table>
<% include('/elements/footer.html') %>
<%init>
my $return;
my($query) = $cgi->keywords;
if ( $query =~ /^(\d+)$/ ) {
use FS::Maestro;
$return = FS::Maestro::customer_status($1);
} else {
$return = { 'error' => 'No custnum' };
}
</%init>
More information about the freeside-commits
mailing list