summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2013-03-05 16:50:01 -0800
committerMark Wells <mark@freeside.biz>2013-03-05 16:50:01 -0800
commit57e39d6d93feee6f6d4ccc32dceced3fde53de2d (patch)
tree88f5461b9aa5f9fd8cfeb1a9cac148218ecd75f3
parent968a0f3089c4e0e18ec2c72f5a0917188b1dffc1 (diff)
fix title on selfservice CDRs
-rw-r--r--FS/FS/ClientAPI/MyAccount.pm1
-rw-r--r--fs_selfservice/FS-SelfService/cgi/view_cdr_details.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm
index 775131e5a..08e506cf1 100644
--- a/FS/FS/ClientAPI/MyAccount.pm
+++ b/FS/FS/ClientAPI/MyAccount.pm
@@ -2142,6 +2142,7 @@ sub _usage_details {
'svcnum' => $p->{svcnum},
'beginning' => $p->{beginning},
'ending' => $p->{ending},
+ 'inbound' => $p->{inbound},
'previous' => ($previous > $start) ? $previous : $start,
'next' => ($next < $end) ? $next : $end,
'header' => $header,
diff --git a/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html b/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html
index 1342c088a..0ee8e9635 100644
--- a/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html
+++ b/fs_selfservice/FS-SelfService/cgi/view_cdr_details.html
@@ -1,5 +1,5 @@
<%= $url = "$selfurl?session=$session_id;action="; ''; %>
-<%= include('header', ($inbound ? 'Dialed calls ' : 'Received calls ') .
+<%= include('header', ($inbound ? 'Received calls' : 'Dialed calls' ) .
' for '.
Date::Format::time2str('%b&nbsp;%o&nbsp;%Y', $beginning).
' - '.