1 <SELECT NAME="domsvc" SIZE=1>
3 % sort { $svc_domain{$a} cmp $svc_domain{$b} }
7 <OPTION VALUE="<% $svcnum %>"
8 <% ($svcnum == $domsvc) ? ' SELECTED' : '' %>
9 ><% $svc_domain{$svcnum} %>
21 my $domsvc = $opt{'curr_value'};
22 my $part_svc = $opt{'part_svc'}
23 || qsearchs('part_svc', { 'svcpart' => $opt{'svcpart'} });
26 my $cust_pkg = $opt{'cust_pkg'};
27 $cust_pkg ||= qsearchs('cust_pkg', { 'pkgnum' => $opt{'pkgnum'} })
30 my $pkgnum = $cust_pkg ? $cust_pkg->pkgnum : '';
35 my $svc_domain = qsearchs('svc_domain', { 'svcnum' => $domsvc } );
37 $svc_domain{$svc_domain->svcnum} = $svc_domain;
39 warn "unknown svc_domain.svcnum for svc_acct.domsvc: $domsvc";
45 FS::svc_Domain_Mixin->domain_select_hash( 'svcpart' => $part_svc->svcpart,