From: Mark Wells Date: Tue, 6 Nov 2012 17:50:43 +0000 (-0800) Subject: show deprovisioned services correctly, #17620 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=2b2aa5664742a134da11862a7cedb37d25524423;hp=1a7a84610a1bb67b0fda20a2eeed10e50b984178 show deprovisioned services correctly, #17620 --- diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 128aaf7e0..4fd9b6e37 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