X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Fsvc_domain.cgi;h=369d6a0fe8fbd3655fd1fab287f090ac35576fe0;hp=10079ce98f3d863454e386706ec20d20dda8b090;hb=cc647ae934abe5c9d9a5fc12f020adfc566349d9;hpb=af5b5947a7bcb13a94a84bb2b20c80a2778e0f35
diff --git a/httemplate/edit/svc_domain.cgi b/httemplate/edit/svc_domain.cgi
index 10079ce98..369d6a0fe 100755
--- a/httemplate/edit/svc_domain.cgi
+++ b/httemplate/edit/svc_domain.cgi
@@ -8,10 +8,18 @@
<% ntable("#cccccc",2) %>
+
-Domain
-
+
Domain |
+
+% if ( !$svcnum || $conf->exists('svc_domain-edit_domain') ) {
+
+% } else {
+ <% $domain %>
+% }
+
% if ($export) {
+
Available top-level domains: <% $export->option('tlds') %>
|
@@ -27,11 +35,25 @@ Available top-level domains: <% $export->option('tlds') %>
% }
-
-
-
+
+
+% if ( $part_svc->part_svc_column('max_accounts')->columnflag =~ /^[FA]$/ ) {
+
+% } else {
+
+ Maximum number of accounts |
+
+
+ |
+
+% }
+
+
+
+
+
<% include('/elements/footer.html') %>
@@ -41,6 +63,8 @@ Available top-level domains: <% $export->option('tlds') %>
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific?
+my $conf = new FS::Conf;
+
my($svcnum, $pkgnum, $svcpart, $kludge_action, $part_svc,
$svc_domain);
if ( $cgi->param('error') ) {