diff options
author | Mitch Jackson <mitch@freeside.biz> | 2018-02-03 20:16:47 -0600 |
---|---|---|
committer | Mitch Jackson <mitch@freeside.biz> | 2018-02-03 20:16:47 -0600 |
commit | 560af69840e7e3fcebf65d5d56ca4efc0851efec (patch) | |
tree | c23eae4cce2166f55788618fd090f9f2e7fd7cfb /httemplate/search/report_contact.html | |
parent | cbb6450c25690e5b3fccc6cfddd497de45f062d5 (diff) |
RT# 73422 Fix report Customer Contacts
Diffstat (limited to 'httemplate/search/report_contact.html')
-rw-r--r-- | httemplate/search/report_contact.html | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/httemplate/search/report_contact.html b/httemplate/search/report_contact.html index ba91b4e7e..309f11e96 100644 --- a/httemplate/search/report_contact.html +++ b/httemplate/search/report_contact.html @@ -4,25 +4,39 @@ <TABLE BGCOLOR="#cccccc" CELLSPACING=0> - <& /elements/tr-select-agent.html, - 'curr_value' => scalar( $cgi->param('agentnum') ), - 'label' => emt('Contacts for agent: '), - 'disable_empty' => 0, - &> +%# This has never been actually supported on this report. +%# Remove the selectbox until support is implemented +%# +%# <& /elements/tr-select-agent.html, +%# 'curr_value' => scalar( $cgi->param('agentnum') ), +%# 'label' => emt('Contacts for agent: '), +%# 'disable_empty' => 0, +%# &> <& /elements/tr-select.html, - 'label' => 'Contact source', #??? not "type" - contacts have a type + 'label' => 'Contact source:', #??? not "type" - contacts have a type 'field' => 'link', - 'options' => [ 'prospect_main', 'cust_main', '' ], + 'options' => [ 'prospect_main', 'cust_main', 'both' ], 'labels' => { 'prospect_main' => 'Prospect contacts', 'cust_main' => 'Customer contacts', - '' => 'All contacts', + 'both' => 'All contacts', }, 'curr_value' => scalar( $cgi->param('link') ), &> + <& /elements/tr-checkbox-multiple.html, + label => emt('Destinations').':', + field => 'dest', + options => [ 'message', 'invoice' ], + labels => { + invoice => 'Invoice recipients', + message => 'Message recipients', + }, + value => { message => 1 }, + &> + <& /elements/tr-select-multiple-contact_class.html, - label => 'Contact Type', + label => emt('Contact Type').':', field => 'classnum', &> |