summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-svc-domain.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-svc-domain.html')
-rw-r--r--httemplate/elements/tr-select-svc-domain.html34
1 files changed, 0 insertions, 34 deletions
diff --git a/httemplate/elements/tr-select-svc-domain.html b/httemplate/elements/tr-select-svc-domain.html
deleted file mode 100644
index 437bc58..0000000
--- a/httemplate/elements/tr-select-svc-domain.html
+++ /dev/null
@@ -1,34 +0,0 @@
-%if ( $columnflag eq 'F' ) {
- <INPUT TYPE="hidden" NAME="domsvc" VALUE="<% $domsvc %>">
-% } else {
-
- <TR>
- <TD ALIGN="right"><% $opt{'label'} || 'Domain' %></TD>
- <TD>
- <% include('/elements/select-svc-domain.html',
- 'curr_value' => $domsvc,
- 'part_svc' => $part_svc,
- 'cust_pkg' => $cust_pkg,
- )
- %>
- </TD>
- </TR>
-% }
-<%init>
-
-my %opt = @_;
-
-my $domsvc = $opt{'curr_value'};
-
-#required
-my $part_svc = $opt{'part_svc'}
- || qsearchs('part_svc', { 'svcpart' => $opt{'svcpart'} });
-
-my $columnflag = $part_svc->part_svc_column('domsvc')->columnflag;
-
-#optional
-my $cust_pkg = $opt{'cust_pkg'};
-$cust_pkg ||= qsearchs('cust_pkg', { 'pkgnum' => $opt{'pkgnum'} })
- if $opt{'pkgnum'};
-
-</%init>