From c193fc003020c040668cd801fca6447939c07e6c Mon Sep 17 00:00:00 2001 From: jeff Date: Wed, 14 Feb 2007 23:32:22 +0000 Subject: selectable domain on first package in edit/cust_main --- httemplate/edit/cust_main/select-domain.html | 66 ++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 httemplate/edit/cust_main/select-domain.html (limited to 'httemplate/edit/cust_main/select-domain.html') diff --git a/httemplate/edit/cust_main/select-domain.html b/httemplate/edit/cust_main/select-domain.html new file mode 100644 index 000000000..3d42eb8b1 --- /dev/null +++ b/httemplate/edit/cust_main/select-domain.html @@ -0,0 +1,66 @@ + +<% include('/elements/xmlhttp.html', + 'url' => $p.'misc/svc_acct-domains.cgi', + 'subs' => [ $opt{'prefix'}. 'get_domains' ], + ) +%> + + + + + + +<%init> +my %opt = @_; +foreach my $opt (qw( svc_part pkgparts saved_pkgpart saved_domsvc prefix)) { + $opt{$_} = '' unless exists($opt{$_}) && defined($opt{$_}); +} +$opt{saved_domsvc} = 0 unless $opt{saved_domsvc}; +my @part_pkg = @{$opt{'pkgparts'}}; + + + -- cgit v1.2.1