summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
authorivan <ivan>2009-11-14 00:08:21 +0000
committerivan <ivan>2009-11-14 00:08:21 +0000
commit2339b763230e33505b8a5302acd32269fbfd9f7e (patch)
treeeb860abb0fe0e7d975d0a6a7c93b2ab635aa0afc /httemplate/search
parent9741a06874c2cb664ca37265d2c1914c0e2e1673 (diff)
add invoice terms to advanced customer report. dogfood.
Diffstat (limited to 'httemplate/search')
-rwxr-xr-xhttemplate/search/cust_main.html2
-rwxr-xr-xhttemplate/search/report_cust_main.html11
2 files changed, 12 insertions, 1 deletions
diff --git a/httemplate/search/cust_main.html b/httemplate/search/cust_main.html
index eddb08d18..19eb1318d 100755
--- a/httemplate/search/cust_main.html
+++ b/httemplate/search/cust_main.html
@@ -45,7 +45,7 @@ my %search_hash = ();
#scalars
my @scalars = qw (
agentnum status cancelled_pkgs cust_fields flattened_pkgs custbatch
- no_censustract paydate_year paydate_month
+ no_censustract paydate_year paydate_month invoice_terms
);
for my $param ( @scalars ) {
diff --git a/httemplate/search/report_cust_main.html b/httemplate/search/report_cust_main.html
index a8583ea67..943dbb517 100755
--- a/httemplate/search/report_cust_main.html
+++ b/httemplate/search/report_cust_main.html
@@ -75,6 +75,17 @@
}
}
</SCRIPT>
+
+ <TR>
+ <TD ALIGN="right">Invoice terms</TD>
+ <TD>
+ <% include( '/elements/select-terms.html',
+ 'pre_options' => [ '' => 'all' ],
+ 'empty_value' => 'NULL',
+ )
+ %>
+ </TD>
+ </TR>
<% include( '/elements/tr-input-lessthan_greaterthan.html',
label => 'Current balance',