MT#5585 Add calls cost to subscriber calls list.

Change-Id: I43b280a70cd3fc5d2ef63920939643a6c2f91705
changes/68/968/1
Irina Peshinskaya 10 years ago
parent 0de1fb9e83
commit ca6594e3a2

@ -2052,8 +2052,11 @@ sub master :Chained('base') :PathPart('details') :CaptureArgs(0) {
];
push @{ $call_cols }, (
{ name => "call_id", search => 1, title => $c->loc('Call-ID') },
{ name => "source_customer_cost", search => 1, title => $c->loc('Source Cust Cost (cents)') },
) if($c->user->roles eq "admin" || $c->user->roles eq "reseller");
push @{ $call_cols }, (
{ name => "source_customer_cost", search => 1, title => $c->loc('Source Cust Cost (cents)') },
) ;
$c->stash->{calls_dt_columns} = NGCP::Panel::Utils::Datatables::set_columns($c, $call_cols);
$c->stash->{vm_dt_columns} = NGCP::Panel::Utils::Datatables::set_columns($c, [

Loading…
Cancel
Save