summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-10-10 23:13:10 -0700
committerIvan Kohler <ivan@freeside.biz>2013-10-10 23:13:10 -0700
commit9b9cbf2f56e22dd42a49a993df0a557d6b43b9cc (patch)
tree086f84f775527b9b376a26cfff0e74b4e60c57b9 /httemplate
parent044e3bcb6bbe6d011116b4a0cfa49023e6c391f0 (diff)
add customer status to advanced package report, RT#24631
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/cust_pkg.cgi4
-rwxr-xr-xhttemplate/search/report_cust_pkg.html12
2 files changed, 11 insertions, 5 deletions
diff --git a/httemplate/search/cust_pkg.cgi b/httemplate/search/cust_pkg.cgi
index 32b5a69e8..995779a46 100755
--- a/httemplate/search/cust_pkg.cgi
+++ b/httemplate/search/cust_pkg.cgi
@@ -156,8 +156,8 @@ my %search_hash = ();
$search_hash{'query'} = $cgi->keywords;
#scalars
-for (qw( agentnum cust_main_salesnum salesnum custnum magic status custom
- cust_fields pkgbatch
+for (qw( agentnum cust_status cust_main_salesnum salesnum custnum magic status
+ custom cust_fields pkgbatch
))
{
$search_hash{$_} = $cgi->param($_) if length($cgi->param($_));
diff --git a/httemplate/search/report_cust_pkg.html b/httemplate/search/report_cust_pkg.html
index 0a17344b8..b8c32c631 100755
--- a/httemplate/search/report_cust_pkg.html
+++ b/httemplate/search/report_cust_pkg.html
@@ -13,12 +13,17 @@
</TR>
% unless ( $custnum ) {
- <% include( '/elements/tr-select-agent.html',
+
+ <& /elements/tr-select-agent.html,
'curr_value' => scalar( $cgi->param('agentnum') ),
'disable_empty' => 0,
'onchange' => 'agent_changed(this)',
- )
- %>
+ &>
+
+ <& /elements/tr-select-cust_main-status.html,
+ 'label' => 'Customer status',
+ 'field' => 'cust_status',
+ &>
<SCRIPT TYPE="text/javascript">
@@ -55,6 +60,7 @@
&>
<% include( '/elements/tr-select-cust_pkg-status.html',
+ 'label' => 'Package status',
'onchange' => 'status_changed(this);',
)
%>