summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-03-15 19:52:58 +0000
committerivan <ivan>2008-03-15 19:52:58 +0000
commit4879d6626e33e0df7d1655cc4ee4ddaff4279218 (patch)
treec53bb36c598f8e55a10dbd85f229a1aa699cfec1 /httemplate
parent68834437676eff4326b488150005ea8b4f004a01 (diff)
check on invoice re-printing newest percust... can't reproduce any problem, prints newest per cust fine, closes: #3161
Diffstat (limited to 'httemplate')
-rwxr-xr-xhttemplate/search/cust_bill.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/cust_bill.html b/httemplate/search/cust_bill.html
index 9166f6dcb..25a7ea051 100755
--- a/httemplate/search/cust_bill.html
+++ b/httemplate/search/cust_bill.html
@@ -159,7 +159,8 @@ if ( $cgi->param('invnum') =~ /^\s*(FS-)?(\d+)\s*$/ ) {
FS::cust_bill->owed_sql. ' AS owed',
FS::cust_bill->net_sql. ' AS net',
),
- 'extra_sql' => "$extra_sql $orderby"
+ 'extra_sql' => $extra_sql,
+ 'order_by' => $orderby,
};
}