X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fedit%2Fprospect_main.html;h=fb675153296445cdd9e61c37c5a357c2f59fae17;hb=f19956cf9995fee8897542fafa6c7ec13afde381;hp=ab01930e5a0784ca1359bbb89830a50802e0233c;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index ab01930e5..fb6751532 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -1,17 +1,25 @@ <% include('elements/edit.html', 'name_singular' => 'prospect', 'table' => 'prospect_main', + 'html_table_class'=> 'fsinnerbox', 'labels' => { 'prospectnum' => 'Prospect', 'agentnum' => 'Agent', + 'refnum' => 'Advertising source', 'company' => 'Company', 'contactnum' => 'Contact', 'locationnum' => ' ', + 'taxstatusnum'=> 'Tax status', }, 'fields' => [ { 'field' => 'agentnum', 'type' => 'select-agent', 'empty_label' => 'Select agent', - 'colspan' => 6, + 'colspan' => 7, + }, + { 'field' => 'refnum', + 'type' => 'select-part_referral', + 'empty_label' => 'Select advertising source', + 'colspan' => 7, }, { 'field' => 'residential_commercial', 'type' => 'radio', @@ -21,11 +29,11 @@ { 'field' => 'company', 'type' => 'text', 'size' => 50, - 'colspan' => 6, + 'colspan' => 7, }, { 'field' => 'contactnum', 'type' => 'contact', - 'colspan' => 6, + 'colspan' => 7, 'o2m_table' => 'contact', 'm2_label' => 'Contact', 'm2_error_callback' => $m2_error_callback, @@ -36,6 +44,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 +199,10 @@ my $javascript = <