|
|
|
|
@ -10,6 +10,8 @@ use NGCP::Panel::Utils::ProfilePackages;
|
|
|
|
|
use NGCP::Panel::Utils::InvoiceTemplate;
|
|
|
|
|
use NGCP::Panel::Utils::Invoice;
|
|
|
|
|
use NGCP::Panel::Form::Invoice::Invoice;
|
|
|
|
|
use HTML::Entities;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sub auto :Private {
|
|
|
|
|
my ($self, $c) = @_;
|
|
|
|
|
@ -248,6 +250,8 @@ sub create :Chained('inv_list') :PathPart('create') :Args() :Does(ACL) :ACLDetac
|
|
|
|
|
my $calllist = [ map {
|
|
|
|
|
my $call = {$_->get_inflated_columns};
|
|
|
|
|
$call->{start_time} = $call->{start_time}->epoch;
|
|
|
|
|
$call->{destination_user_in} =~s/%23/#/g;
|
|
|
|
|
$call->{destination_user_in} = encode_entities($call->{destination_user_in}, '<>&"#');
|
|
|
|
|
$call->{source_customer_cost} += 0.0; # make sure it's a number
|
|
|
|
|
$call;
|
|
|
|
|
} $calllist_rs->all ];
|
|
|
|
|
|