fix bug in flat_commission price plan, thanks to Troy Hammonds
[freeside.git] / FS / FS / part_pkg / voip_sqlradacct.pm
index a2f998a..db38a44 100644 (file)
@@ -153,14 +153,15 @@ sub calc_recur {
       }
 
       my $rate_region = $rate_prefix->rate_region;
-      warn "  (rate region $rate_region)" if $DEBUG;
+      warn "  (rate region $rate_region)\n" if $DEBUG;
 
       my @call_details = (
-        time2str("%Y %b %d - %r", $session->{'acctstarttime'}),
-        "+$countrycode $dest",
-        $rate_region->regionname,
+        #time2str("%Y %b %d - %r", $session->{'acctstarttime'}),
+        time2str("%c", $session->{'acctstarttime'}),
         $minutes.'m',
         '$'.$charge,
+        "+$countrycode $dest",
+        $rate_region->regionname,
       );
 
       warn "  adding details on charge to invoice: ".