From 3af5b4d976ec953740f3ff373b67c5047da3c8d9 Mon Sep 17 00:00:00 2001 From: Andrew Pogrebennyk Date: Tue, 11 Jun 2013 13:35:24 +0200 Subject: [PATCH] reflect renaming to source_customer_cost in 2.8 (mantis:3237) --- lib/admin/Utils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/admin/Utils.pm b/lib/admin/Utils.pm index e8c8699..0988405 100644 --- a/lib/admin/Utils.pm +++ b/lib/admin/Utils.pm @@ -168,9 +168,9 @@ sub prepare_call_list { $callentry{duration} = '00:00'; } - if(defined $$call{customer_cost}) { + if(defined $$call{source_customer_cost}) { # money is allways returned as cents - $callentry{call_fee} = sprintf $$bilprof{data}{currency} . " %.04f", $$call{customer_cost}/100; + $callentry{call_fee} = sprintf $$bilprof{data}{currency} . " %.04f", $$call{source_customer_cost}/100; } else { $callentry{call_fee} = ''; }