summaryrefslogtreecommitdiff
path: root/httemplate/edit/svc_acct.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2006-10-25 02:22:33 +0000
committerjeff <jeff>2006-10-25 02:22:33 +0000
commitc84d872fdca241d798cc988b44c63d5ac0ea8ead (patch)
tree64d81be3eb8c843e134501da355af4fec612d798 /httemplate/edit/svc_acct.cgi
parentdf4a30e2813c3be288747cd2a5fa2fa3ed15a248 (diff)
limited domain select
Diffstat (limited to 'httemplate/edit/svc_acct.cgi')
-rwxr-xr-xhttemplate/edit/svc_acct.cgi9
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 } );