X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_pay.cgi;h=b5bdf82967771cacd7eb4e1e10463410adc4035d;hp=8ebd65413fd8577a5436033e1d030ec059241aff;hb=a4c96748eb6eab29a70f3a944c6520283a635c78;hpb=22a35047ecdffff80110e06cc08fc84f9ddba9b0 diff --git a/httemplate/search/cust_pay.cgi b/httemplate/search/cust_pay.cgi index 8ebd65413..b5bdf8296 100755 --- a/httemplate/search/cust_pay.cgi +++ b/httemplate/search/cust_pay.cgi @@ -13,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(), <