X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pay.cgi;h=b5bdf82967771cacd7eb4e1e10463410adc4035d;hb=336d87dc8c7c105d3d9cd41c3590acc09964281d;hp=715e63e24a61c17f258d1bb321fda5cb0c890259;hpb=1fd6d8cf5d7854860ef4fd10ed89828e0c04ec39;p=freeside.git diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi index 715e63e24..b5bdf8296 100755 --- a/httemplate/search/cust_pay.cgi +++ b/httemplate/search/cust_pay.cgi @@ -1,4 +1,3 @@ - <% $cgi->param('payinfo') =~ /^\s*(\d+)\s*$/ or die "illegal payinfo"; @@ -14,11 +13,17 @@ if (0) { # my $invnum = $cust_bill[0]->invnum; # print $cgi->redirect(popurl(2). "view/cust_bill.cgi?$invnum"); #redirect } elsif ( scalar(@cust_pay) == 0 ) { +%> + +<% idiot("Check # not found."); #exit; } else { my $total = scalar(@cust_pay); my $s = $total > 1 ? 's' : ''; +%> + +<% print header("Check # Search Results", menubar( 'Main Menu', popurl(2) )), "$total matching check$s found
", &table(), <