From: Mark Wells Date: Fri, 22 Mar 2013 21:02:04 +0000 (-0700) Subject: allow open pay_batches to be included in search X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=686ecf55b716396505eefde07593d7de3a423751;p=freeside.git allow open pay_batches to be included in search --- diff --git a/httemplate/search/pay_batch.cgi b/httemplate/search/pay_batch.cgi index 00c6ba1b9..620996abd 100755 --- a/httemplate/search/pay_batch.cgi +++ b/httemplate/search/pay_batch.cgi @@ -150,8 +150,8 @@ my($begin, $end) = ( '', '' ); my @where; my($beginning,$ending) = FS::UI::Web::parse_beginning_ending($cgi); -push @where, "download >= $beginning", - "download <= $ending"; +push @where, "( (download >= $beginning AND download <= $ending) ". + ' OR download IS NULL )'; my @status; if ( $cgi->param('open') ) {