diff options
author | jeff <jeff> | 2006-10-25 02:22:33 +0000 |
---|---|---|
committer | jeff <jeff> | 2006-10-25 02:22:33 +0000 |
commit | c84d872fdca241d798cc988b44c63d5ac0ea8ead (patch) | |
tree | 64d81be3eb8c843e134501da355af4fec612d798 /httemplate/edit/svc_acct.cgi | |
parent | df4a30e2813c3be288747cd2a5fa2fa3ed15a248 (diff) |
limited domain select
Diffstat (limited to 'httemplate/edit/svc_acct.cgi')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 60ca24d3e..097e8c262 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -216,7 +216,14 @@ Service # <% $svcnum ? "<B>$svcnum</B>" : " (NEW)" %><BR> % } % } % -% if ($cust_pkg && !$conf->exists('svc_acct-alldomains') ) { +% if ( $part_svc->part_svc_column('domsvc')->columnflag eq 'S' ) { +% foreach my $domain +% (split(',',$part_svc->part_svc_column('domsvc')->columnvalue)) { +% my $svc_domain = +% qsearchs('svc_domain', { 'svcnum' => $domain } ); +% $svc_domain{$svc_domain->svcnum} = $svc_domain if $svc_domain; +% } +% }elsif ($cust_pkg && !$conf->exists('svc_acct-alldomains') ) { % my @cust_svc = % map { qsearch('cust_svc', { 'pkgnum' => $_->pkgnum } ) } % qsearch('cust_pkg', { 'custnum' => $cust_pkg->custnum } ); |