summaryrefslogtreecommitdiff
path: root/httemplate/search/report_cust_bill.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/report_cust_bill.html')
-rw-r--r--httemplate/search/report_cust_bill.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/httemplate/search/report_cust_bill.html b/httemplate/search/report_cust_bill.html
index 0f0d91b..51618fb 100644
--- a/httemplate/search/report_cust_bill.html
+++ b/httemplate/search/report_cust_bill.html
@@ -37,7 +37,23 @@
&>
% }
+% if ( $conf->exists('cust_bill-enable_promised_date') ) {
<TR>
+
+ <TD ALIGN="right" STYLE="vertical-align:text-top">
+ <% emt('Promised payment date:') %></TD>
+ <TD>
+ <INPUT TYPE="checkbox" NAME="promised_date" CHECKED VALUE="null">
+ <% emt('None') %> <BR>
+ <INPUT TYPE="checkbox" NAME="promised_date" CHECKED VALUE="past">
+ <% emt('In the past') %><BR>
+ <INPUT TYPE="checkbox" NAME="promised_date" CHECKED VALUE="future">
+ <% emt('In the future') %><BR>
+ </TD>
+ </TR>
+% }
+
+<TR>
<TD ALIGN="right"><INPUT TYPE="checkbox" NAME="open" VALUE="1" CHECKED></TD>
<TD><% mt('Show only open invoices') |h %></TD>
</TR>
@@ -49,6 +65,7 @@
</TR>
% }
+
</TABLE>
<BR>
@@ -62,6 +79,8 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('List invoices');
+my $conf = new FS::Conf;
+
my $title = 'Invoice Report';
#false laziness w/report_cust_pkg.html
my @title_arg = ();