diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-04-17 11:13:03 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-04-17 11:13:03 -0400 |
| commit | 609e7cb967020e23f147f4e1b475fed97e37db30 (patch) | |
| tree | 0a24220199db906ba31c4e73f3ba7ee0004da49f | |
| parent | 9d730c5bfd39cca46b2801f32432a9d979d6501b (diff) | |
RT# 75357 - v3 fix for creating contact rows in prospects
| -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'}) { |
