X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprospect_main.html;h=1269a84ed0a989e7efad08fcf92c3dfc11d5d2fd;hb=f2cf5c2843dcef5db0941a1673538eb922fd5a5a;hp=ab01930e5a0784ca1359bbb89830a50802e0233c;hpb=8d534e61d74e561a15f0863a835cda4af639a9ea;p=freeside.git diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index ab01930e5..1269a84ed 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -3,9 +3,11 @@ 'table' => 'prospect_main', 'labels' => { 'prospectnum' => 'Prospect', 'agentnum' => 'Agent', + 'refnum' => 'Advertising source', 'company' => 'Company', 'contactnum' => 'Contact', 'locationnum' => ' ', + 'taxstatusnum'=> 'Tax status', }, 'fields' => [ { 'field' => 'agentnum', @@ -13,6 +15,11 @@ 'empty_label' => 'Select agent', 'colspan' => 6, }, + { 'field' => 'refnum', + 'type' => 'select-part_referral', + 'empty_label' => 'Select advertising source', + 'colspan' => 6, + }, { 'field' => 'residential_commercial', 'type' => 'radio', 'options' => [ 'Residential', 'Commercial', ], @@ -36,6 +43,13 @@ 'empty_label' => 'No address', 'disable_empty' => $conf->exists('prospect_main-location_required'), 'alt_format' => $conf->exists('prospect_main-alt_address_format'), + 'include_opt_callback' => sub { + 'prospect_main' => shift + }, + }, + { 'field' => 'taxstatusnum', + 'type' => 'select-tax_status', + 'empty_label' => ' ', }, ], 'new_callback' => $new_callback, @@ -184,8 +198,10 @@ my $javascript = <