diff options
| -rw-r--r-- | httemplate/edit/prospect_main.html | 13 | ||||
| -rw-r--r-- | httemplate/elements/contact.html | 1 |
2 files changed, 7 insertions, 7 deletions
diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index 9340493b4..fefdb96c0 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -48,12 +48,13 @@ 'size' => 50, 'colspan' => 6, }, - { 'field' => 'contactnum', - 'type' => 'contact', - 'colspan' => 6, - 'o2m_table' => 'contact', - 'm2_label' => 'Contact', - 'm2_error_callback' => $m2_error_callback, + { 'field' => 'contactnum', + 'type' => 'contact', + 'colspan' => 6, + 'o2m_table' => 'contact', + 'm2_label' => 'Contact', + 'm2_error_callback' => $m2_error_callback, + 'include_opt_callback' => sub { 'for_prospect' => '1' }, }, { 'field' => 'locationnum', diff --git a/httemplate/elements/contact.html b/httemplate/elements/contact.html index 5cf8ddbd6..a9e1f23c9 100644 --- a/httemplate/elements/contact.html +++ b/httemplate/elements/contact.html @@ -145,7 +145,6 @@ tie my %label, 'Tie::IxHash', 'last' => 'Last name', 'title' => 'Title/Position', 'emailaddress' => 'Email', - 'selfservice_access' => 'Self-service' ; unless ($opt{'for_prospect'}) { |
