try not to search for nothing in cust_svc so much, RT#5083
authorivan <ivan>
Mon, 30 Mar 2009 04:31:47 +0000 (04:31 +0000)
committerivan <ivan>
Mon, 30 Mar 2009 04:31:47 +0000 (04:31 +0000)
httemplate/view/cust_main/packages.html

index d98de8e..20d42a4 100755 (executable)
@@ -192,6 +192,7 @@ sub get_packages {
     my %part_pkg = map  { /^part_pkg_(.+)$/ or die; ( $1 => $hash{$_} ); }
                    grep { /^part_pkg_/ } keys %hash;
     $cust_pkg->{'_pkgpart'} = new FS::part_pkg \%part_pkg;
+    $cust_pkg->{'_num_cust_svc'} = $cust_pkg->get('_num_cust_svc');
   }
 
   unless ( $cgi->param('showoldpackages') ) {