X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fcontact.html;h=979c26b49654210cf46a5c9379ee43e66e387b80;hb=0788d4bf43324dd87c224a43983c8066f9cb2cbe;hp=8abce058ea61cedc87a912b21defc427d86036d0;hpb=92862c52a70620257a455b25c239ce03d1692608;p=freeside.git
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html
index 8abce058e..979c26b49 100644
--- a/httemplate/elements/contact.html
+++ b/httemplate/elements/contact.html
@@ -45,14 +45,30 @@
% }
- "
- <% $onchange %>
- >
+% if ( $field eq 'selfservice_access' ) {
+
+
+% } else {
+ "
+ <% $onchange %>
+ >
+% }
+
<% $label{$field} %>
|
% }
@@ -64,6 +80,9 @@
my( %opt ) = @_;
+my $conf = new FS::Conf;
+my $self_base_url = $conf->config('selfservice_server-base_url');
+
my $name = $opt{'element_name'} || $opt{'field'} || 'contactnum';
my $id = $opt{'id'} || 'contactnum';
@@ -90,10 +109,11 @@ if ( $curr_value ) {
my %size = ( 'title' => 12 );
tie my %label, 'Tie::IxHash',
- 'first' => 'First name',
- 'last' => 'Last name',
- 'title' => 'Title/Position',
- 'emailaddress' => 'Email',
+ 'first' => 'First name',
+ 'last' => 'Last name',
+ 'title' => 'Title/Position',
+ 'emailaddress' => 'Email',
+ 'selfservice_access' => 'Self-service'
;
my $first = 0;