42396: Prospect creation without contact (v4+) [hide fields prospect doesn't use]
[freeside.git] / httemplate / edit / prospect_main.html
index 6aefe80..1e05578 100644 (file)
@@ -39,7 +39,7 @@
          'm2m_dstcol'        => 'contactnum',
          'm2_label'          => 'Contact',
          'm2_error_callback' => $m2_error_callback,
-
+         'include_opt_callback' => sub { 'for_prospect' => 1 },
        },
        { 'field'         => 'locationnum',
          'type'          => 'select-cust_location',