set CDR status again after processing, fallout from #15535
authormark <mark>
Wed, 4 Jan 2012 21:12:38 +0000 (21:12 +0000)
committermark <mark>
Wed, 4 Jan 2012 21:12:38 +0000 (21:12 +0000)
FS/FS/part_pkg/voip_cdr.pm

index ceda0c7..31a9218 100644 (file)
@@ -412,6 +412,7 @@ sub calc_usage {
       # at this point we officially Do Not Care about the rating method
       $charges += $cdr->rated_price;
       $formatter->append($cdr);
+      $cdr->set_status('done');
     }
   }