projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5ca43cb
)
where helps alot
author
ivan
<ivan>
Sat, 15 Dec 2007 01:37:02 +0000
(
01:37
+0000)
committer
ivan
<ivan>
Sat, 15 Dec 2007 01:37:02 +0000
(
01:37
+0000)
httemplate/search/cust_bill.html
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_bill.html
b/httemplate/search/cust_bill.html
index
b7eac57
..
fe2f6e5
100755
(executable)
--- a/
httemplate/search/cust_bill.html
+++ b/
httemplate/search/cust_bill.html
@@
-124,8
+124,6
@@
if ( $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/ ) {
$orderby = "ORDER BY cust_bill.$field";
}
$orderby = "ORDER BY cust_bill.$field";
}
- $search{'newest_percust'} = 1 if $cgi->param('newest_percust');
-
if ( $cgi->param('newest_percust') ) {
$search{'newest_percust'} = 1;
$count_query = "SELECT COUNT(DISTINCT cust_bill.custnum), 'N/A', 'N/A'";
if ( $cgi->param('newest_percust') ) {
$search{'newest_percust'} = 1;
$count_query = "SELECT COUNT(DISTINCT cust_bill.custnum), 'N/A', 'N/A'";
@@
-146,7
+144,7
@@
if ( $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/ ) {
'$%.2f outstanding balance',
];
}
'$%.2f outstanding balance',
];
}
- $count_query .= " FROM cust_bill $join_cust_main $extra_sql";
+ $count_query .= " FROM cust_bill $join_cust_main
WHERE
$extra_sql";
$sql_query = {
'table' => 'cust_bill',
$sql_query = {
'table' => 'cust_bill',