summaryrefslogtreecommitdiff
path: root/httemplate/search
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search')
-rw-r--r--httemplate/search/report_vend_bill.html7
-rw-r--r--httemplate/search/vend_bill.html2
2 files changed, 7 insertions, 2 deletions
diff --git a/httemplate/search/report_vend_bill.html b/httemplate/search/report_vend_bill.html
index defda70ae..4f391fde8 100644
--- a/httemplate/search/report_vend_bill.html
+++ b/httemplate/search/report_vend_bill.html
@@ -4,7 +4,7 @@
<TABLE BGCOLOR="#cccccc" CELLSPACING=0>
- <TR>
+ <TR>
<TD ALIGN="right" VALIGN="center"><% mt('Date') |h %></TD>
<TD>
<TABLE>
@@ -16,7 +16,7 @@
</TD>
</TR>
- <TR>
+ <TR>
<TD ALIGN="right" VALIGN="center"><% mt('Payment date') |h %></TD>
<TD>
<TABLE>
@@ -28,6 +28,9 @@
</TD>
</TR>
+ <& /elements/tr-select-vend_class.html,
+ &>
+
</TABLE>
<BR>
diff --git a/httemplate/search/vend_bill.html b/httemplate/search/vend_bill.html
index 33eb2241c..9bc74cfc5 100644
--- a/httemplate/search/vend_bill.html
+++ b/httemplate/search/vend_bill.html
@@ -40,6 +40,8 @@ $search{'_date'} = [ $beginning, $ending ];
($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi, 'payment_date');
$search{'payment_date'} = [ $beginning, $ending ];
+$search{'classnum'} = $cgi->param('classnum');
+
my $query = FS::vend_bill->search( \%search );
my $count_query = delete( $query->{'count_query'} );