X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fsvc_phone.cgi;h=12b246297a49c3f344489b50f2cb64ae851c5b04;hb=06dd1a24c0d4ada0daa55da9129278f7ccc935d3;hp=8bd4dba02ed8a6ed54062b84658fd3c6c4d88010;hpb=4a476092eda9c8e42292cc7bf01f5c73cf5abcd0;p=freeside.git diff --git a/httemplate/view/svc_phone.cgi b/httemplate/view/svc_phone.cgi index 8bd4dba02..12b246297 100644 --- a/httemplate/view/svc_phone.cgi +++ b/httemplate/view/svc_phone.cgi @@ -1,10 +1,18 @@ <% include('elements/svc_Common.html', 'table' => 'svc_phone', - 'fields' => [qw( countrycode phonenum pin )], + 'fields' => [qw( + countrycode + phonenum + sip_password + pin + phone_name + )], 'labels' => { - 'countrycode' => 'Country code', - 'phonenum' => 'Phone number', - 'pin' => 'PIN', + 'countrycode' => 'Country code', + 'phonenum' => 'Phone number', + 'sip_password' => 'SIP password', + 'pin' => 'PIN', + 'phone_name' => 'Name', }, 'html_foot' => $html_foot, ) @@ -24,12 +32,20 @@ my $html_foot = sub { my $number = $svc_phone->phonenum; + #my @links = map { + # qq(). + # "View $_ CDRs"; + #} keys(%what); my @links = map { - qq(). + qq(). "View $_ CDRs"; } keys(%what); - join(' | ', @links). '
'; + my @ilinks = ( qq(). + 'View incoming CDRs' ); + + join(' | ', @links ). '
'. + join(' | ', @ilinks). '
'; };