From: ivan Date: Mon, 22 Feb 2010 09:18:10 +0000 (+0000) Subject: communigate: domain account defaults, RT#7083 X-Git-Tag: root_of_svc_elec_features~450 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5fa9ce1b7c8b934e96a6a2f850a4e788eb76f495 communigate: domain account defaults, RT#7083 --- diff --git a/FS/FS/svc_domain.pm b/FS/FS/svc_domain.pm index b928e26e5..d6eaf2579 100644 --- a/FS/FS/svc_domain.pm +++ b/FS/FS/svc_domain.pm @@ -144,9 +144,13 @@ sub table_info { }, 'acct_def_password_selfchange' => { label => 'Acct. default Password modification', type => 'checkbox', + disable_inventory => 1, + disable_select => 1, }, 'acct_def_password_recover' => { label => 'Acct. default Password recovery', type => 'checkbox', + disable_inventory => 1, + disable_select => 1, }, 'acct_def_cgp_deletemode' => { label => 'Acct. default Communigate message delete method', diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 6428960dd..80f61a100 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -266,6 +266,14 @@ that field. % 'empty_label' => 'Select inventory class', % ); % +% } elsif ( $def->{type} eq 'checkbox' ) { +% +% $html .= include('/elements/checkbox.html', +% 'field' => $layer.'__'.$field, +% 'curr_value' => $value, +% 'value' => 'Y', +% ); +% % } elsif ( $def->{type} eq 'select' ) { % % $html .= qq! +% for ( 'Move To Trash', 'Immediately', 'Mark' ) { +