[freeside-commits] branch master updated. 2b2aa5664742a134da11862a7cedb37d25524423

Mark Wells mark at 420.am
Tue Nov 6 09:50:57 PST 2012


The branch, master has been updated
       via  2b2aa5664742a134da11862a7cedb37d25524423 (commit)
      from  1a7a84610a1bb67b0fda20a2eeed10e50b984178 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2b2aa5664742a134da11862a7cedb37d25524423
Author: Mark Wells <mark at freeside.biz>
Date:   Tue Nov 6 09:50:43 2012 -0800

    show deprovisioned services correctly, #17620

diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 128aaf7..4fd9b6e 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -2249,12 +2249,11 @@ sub print_csv {
                                    '';
           }
 
-          my $svc_x = $cust_svc->svc_x or 
-            warn "missing svc_x record for svc#".$cust_svc->svcnum."\n";
+          my @h_label = $cust_svc->label(@dates, 'I');
           push @details, sprintf('01%-9s%-20s%-47s',
             $cust_svc->svcnum,
             $svc_class{$svcpart},
-            ($svc_x ? $svc_x->label : ''),
+            $h_label[1],
           );
         } #foreach $cust_svc
       } #if $cust_pkg

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/cust_bill.pm |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)




More information about the freeside-commits mailing list