X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fcust_main%2Fcustom_content%2Fsvc_Common.html;h=1c7ae4e48081e8ce713495ee30ce74a50a77d160;hb=6a66ab1163bfcd6f46df00aa474d013530a1e13c;hp=519a395c7da32ab7e140eca2f87357785374b565;hpb=b31455ec31222bd0e882b76895baa794d80acb17;p=freeside.git diff --git a/httemplate/view/cust_main/custom_content/svc_Common.html b/httemplate/view/cust_main/custom_content/svc_Common.html index 519a395c7..1c7ae4e48 100644 --- a/httemplate/view/cust_main/custom_content/svc_Common.html +++ b/httemplate/view/cust_main/custom_content/svc_Common.html @@ -1,6 +1,5 @@ % foreach my $cust_svc (@cust_svc) { % my $svc_x = $cust_svc->svc_x; -% #warn $svc_x; % foreach my $field ( grep $svc_x->$_(), @{ $opt{fields} } ) { <& /elements/tr-td-label.html, 'label' => $labels{$field} &> @@ -13,14 +12,12 @@ my($cust_main, %opt) = @_; my $table = $opt{table}; -warn $table; my @cust_svc = (); foreach my $cust_pkg ( - grep {warn $_->num_cust_svc( 'svcdb'=>$table ); $_->num_cust_svc( 'svcdb'=>$table ); } + grep $_->num_cust_svc( 'svcdb'=>$table ), $cust_main->all_pkgs ) { my @wtf = $cust_pkg->cust_svc( 'svcdb'=>$table ); - warn scalar(@wtf); push @cust_svc, $cust_pkg->cust_svc( 'svcdb'=>$table ); }