From: Ivan Kohler Date: Mon, 11 Jun 2012 22:25:02 +0000 (-0700) Subject: show name of service definition with services on cust_main-custom_content page, RT... X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=6b5c82ad7691e1fa9902b629ffd3ee5aff202554 show name of service definition with services on cust_main-custom_content page, RT#17579 --- diff --git a/httemplate/view/cust_main/custom_content/svc_Common.html b/httemplate/view/cust_main/custom_content/svc_Common.html index 1c7ae4e48..bddb8bf16 100644 --- a/httemplate/view/cust_main/custom_content/svc_Common.html +++ b/httemplate/view/cust_main/custom_content/svc_Common.html @@ -1,6 +1,9 @@ % foreach my $cust_svc (@cust_svc) { % my $svc_x = $cust_svc->svc_x; + + + % foreach my $field ( grep $svc_x->$_(), @{ $opt{fields} } ) { <& /elements/tr-td-label.html, 'label' => $labels{$field} &>
<% $cust_svc->part_svc->svc |h %>
<% $svc_x->$field() |h %>