From: ivan Date: Sun, 15 Jan 2012 05:18:27 +0000 (+0000) Subject: display spam status on account view, RT#15987 X-Git-Tag: freeside_2_3_1~16 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=04a0d771475412b6f7304257ffea8f12326ae096 display spam status on account view, RT#15987 --- diff --git a/httemplate/view/elements/svc_export_status.html b/httemplate/view/elements/svc_export_status.html new file mode 100644 index 000000000..7efd3df16 --- /dev/null +++ b/httemplate/view/elements/svc_export_status.html @@ -0,0 +1,24 @@ +% my ( $html, $hashref ) = $svc_x->export_getstatus; +% if ( keys %$hashref ) { + + Status settings + <% ntable('#cccccc',2) %> + +% foreach my $key ( sort {$a cmp $b} keys %$hashref ) { + + <% $key |h %> + + <% $hashref->{$key} |h %> + + +% } + + +
+ +% } +<%init> + +my $svc_x = shift; + + diff --git a/httemplate/view/svc_acct.cgi b/httemplate/view/svc_acct.cgi index 6f79a01a4..441e4945d 100755 --- a/httemplate/view/svc_acct.cgi +++ b/httemplate/view/svc_acct.cgi @@ -71,6 +71,8 @@

% } +<& elements/svc_export_status.html, $svc_acct &> + <& elements/svc_export_settings.html, $svc_acct &> <% joblisting({'svcnum'=>$svcnum}, 1) %>