[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi view_cdr_details.html, 1.3, 1.4
Mark Wells
mark at wavetail.420.am
Mon Dec 19 15:16:30 PST 2011
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail.420.am:/tmp/cvs-serv15284/fs_selfservice/FS-SelfService/cgi
Modified Files:
view_cdr_details.html
Log Message:
use detail formats to show CDRs in selfservice, #14923
Index: view_cdr_details.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- view_cdr_details.html 5 May 2011 06:53:36 -0000 1.3
+++ view_cdr_details.html 19 Dec 2011 23:16:28 -0000 1.4
@@ -32,9 +32,11 @@
</TABLE>
<TABLE BGCOLOR="#cccccc">
<TR>
-<%= foreach my $header (@header) {
- $OUT .= qq(<TH ALIGN="right">$header</TH>);
- }
+<%= $space = '<TD> </TD>';
+ $OUT .= join($space,
+ map { '<TH ALIGN="right">'.$_.'</TH>' }
+ @header
+ )
%>
</TR>
<%= my $total = 0;
@@ -42,7 +44,9 @@
my $dtotal = 0;
foreach my $usage ( @usage ) {
$OUT .= '<TR>';
- $OUT .= qq(<TD>$_</TD>) foreach @{$usage};
+ $OUT .= join($space,
+ map { "<TD>$_</TD>" } @{$usage}
+ );
$OUT .= '</TR>';
}
%>
More information about the freeside-commits
mailing list