projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
edit
/
credit-cust_bill_pkg.html
diff --git
a/httemplate/edit/credit-cust_bill_pkg.html
b/httemplate/edit/credit-cust_bill_pkg.html
index
a5ecb69
..
40faddc
100644
(file)
--- a/
httemplate/edit/credit-cust_bill_pkg.html
+++ b/
httemplate/edit/credit-cust_bill_pkg.html
@@
-269,7
+269,8
@@
my @cust_bill_pkg = qsearch({
'select' => 'cust_bill_pkg.*',
'table' => 'cust_bill_pkg',
'addl_from' => 'LEFT JOIN cust_bill USING (invnum)',
'select' => 'cust_bill_pkg.*',
'table' => 'cust_bill_pkg',
'addl_from' => 'LEFT JOIN cust_bill USING (invnum)',
- 'extra_sql' => "WHERE custnum = $custnum AND pkgnum != 0",
+ 'extra_sql' => "WHERE custnum = $custnum ".
+ "AND (pkgnum != 0 or feepart IS NOT NULL)",
'order_by' => 'ORDER BY invnum ASC, billpkgnum ASC',
});
'order_by' => 'ORDER BY invnum ASC, billpkgnum ASC',
});