summaryrefslogtreecommitdiff
path: root/httemplate/search/cust_bill.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/search/cust_bill.cgi')
-rwxr-xr-xhttemplate/search/cust_bill.cgi6
1 files changed, 6 insertions, 0 deletions
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 ) {
+%>
+<!-- mason kludge -->
+<%
eidiot("Invoice not found.");
} else {
+%>
+<!-- mason kludge -->
+<%
my $total = scalar(@cust_bill);
print header("Invoice Search Results", menubar(
'Main Menu', popurl(2)