From 57e39d6d93feee6f6d4ccc32dceced3fde53de2d Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 5 Mar 2013 16:50:01 -0800 Subject: [PATCH] fix title on selfservice CDRs --- FS/FS/ClientAPI/MyAccount.pm | 1 + fs_selfservice/FS-SelfService/cgi/view_cdr_details.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 %o %Y', $beginning). ' - '. -- 2.11.0