projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show deb pkg version
[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
..
85f7943
100644
(file)
--- a/
httemplate/edit/credit-cust_bill_pkg.html
+++ b/
httemplate/edit/credit-cust_bill_pkg.html
@@
-80,9
+80,9
@@
<& /elements/tr-select-reason.html,
'field' => 'reasonnum',
'reason_class' => 'R',
<& /elements/tr-select-reason.html,
'field' => 'reasonnum',
'reason_class' => 'R',
- #XXX reconcile both this and show_taxes want
ed
ing to enable this
+ #XXX reconcile both this and show_taxes wanting to enable this
'id' => 'select_reason',
'id' => 'select_reason',
- 'control_button' =>
"document.getElementById('credit_button')"
,
+ 'control_button' =>
'credit_button'
,
'cgi' => $cgi,
&>
'cgi' => $cgi,
&>
@@
-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',
});