X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_bill.cgi;h=d83851804eaa49fa4994a6b9fe20d00fe67f1013;hp=0c9f27f426ee005103de00e8d0994a477c729f39;hb=a4c96748eb6eab29a70f3a944c6520283a635c78;hpb=22a35047ecdffff80110e06cc08fc84f9ddba9b0 diff --git a/httemplate/search/cust_bill.cgi b/httemplate/search/cust_bill.cgi index 0c9f27f42..d83851804 100755 --- a/httemplate/search/cust_bill.cgi +++ b/httemplate/search/cust_bill.cgi @@ -50,8 +50,14 @@ if ( scalar(@cust_bill) == 1 ) { my $invnum = $cust_bill[0]->invnum; print $cgi->redirect(popurl(2). "view/cust_bill.cgi?$invnum"); #redirect } elsif ( scalar(@cust_bill) == 0 ) { +%> + +<% eidiot("Invoice not found."); } else { +%> + +<% my $total = scalar(@cust_bill); print header("Invoice Search Results", menubar( 'Main Menu', popurl(2)