diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-01-27 21:21:59 -0600 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-01-27 21:21:59 -0600 |
commit | e517b3733dd3d19a7af586c9f4b8cf9982a8b3d2 (patch) | |
tree | 18f97366e5b325844f69246d16a5763b2284ce38 /httemplate/elements | |
parent | f975ff916152bf85b76e5c7bea48f7fdc8af1cc2 (diff) |
RT# 73421 Add allow messages flag message_dest to contact_email
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/contact.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index faee7ea..43e5201 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -42,7 +42,8 @@ % $value = join(', ', map $_->emailaddress, $contact->contact_email); % } elsif ( $field eq 'selfservice_access' % or $field eq 'comment' -% or $field eq 'invoice_dest' ) { +% or $field eq 'invoice_dest' +% or $field eq 'message_dest' ) { % $value = $X_contact->get($field); % } else { % $value = $contact->get($field); @@ -78,7 +79,7 @@ return false } </SCRIPT> -% } elsif ( $field eq 'invoice_dest' ) { +% } elsif ( $field eq 'invoice_dest' || $field eq 'message_dest' ) { % my $curr_value = $cgi->param($name . '_' . $field); % $curr_value = $value if !defined($curr_value); <& select.html, @@ -168,6 +169,7 @@ tie my %label, 'Tie::IxHash', unless ($opt{'for_prospect'}) { $label{'invoice_dest'} = 'Send invoices'; + $label{'message_dest'} = 'Send messages'; $label{'selfservice_access'} = 'Self-service'; } |