projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
26b237b
)
link new tax report to cust_credit_bill_pkg for credits, RT#12332
author
ivan
<ivan>
Fri, 15 Apr 2011 22:19:40 +0000
(22:19 +0000)
committer
ivan
<ivan>
Fri, 15 Apr 2011 22:19:40 +0000
(22:19 +0000)
httemplate/search/cust_credit_bill_pkg.html
patch
|
blob
|
history
diff --git
a/httemplate/search/cust_credit_bill_pkg.html
b/httemplate/search/cust_credit_bill_pkg.html
index
19a9869
..
622d1cf
100644
(file)
--- a/
httemplate/search/cust_credit_bill_pkg.html
+++ b/
httemplate/search/cust_credit_bill_pkg.html
@@
-27,7
+27,7
@@
sub { sprintf($money_char.'%.2f', shift->amount ) },
sub { time2str('%b %d %Y', shift->get('cust_credit_date') ) },
sub { sprintf($money_char.'%.2f', shift->amount ) },
sub { time2str('%b %d %Y', shift->get('cust_credit_date') ) },
-
'otaker'
,
+
sub { shift->cust_credit_bill->cust_credit->otaker }
,
sub { shift->cust_credit_bill->cust_credit->reason },
sub { $_[0]->pkgnum > 0
sub { shift->cust_credit_bill->cust_credit->reason },
sub { $_[0]->pkgnum > 0
@@
-38,8
+38,16
@@
sub { time2str('%b %d %Y', shift->_date ) },
\&FS::UI::Web::cust_fields,
],
sub { time2str('%b %d %Y', shift->_date ) },
\&FS::UI::Web::cust_fields,
],
- #'sort_fields' => [ #XXX add
- #],
+ 'sort_fields' => [
+ 'amount',
+ 'cust_credit_date',
+ '', #'otaker',
+ '', #reason
+ '', #line item description
+ 'invnum',
+ '_date',
+ #cust fields
+ ],
'links' => [
'',
'',
'links' => [
'',
'',