diff options
author | ivan <ivan> | 2011-04-15 22:19:41 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-15 22:19:41 +0000 |
commit | d2f493dfee79d0b5f224cbe4144b80170aeed17b (patch) | |
tree | 55c6aa0a151bd8047c55af1ff0e52c9b6a0e3617 /httemplate | |
parent | c424ac3ca53d56107b7e713fb024e987e86558e1 (diff) |
link new tax report to cust_credit_bill_pkg for credits, RT#12332
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/search/cust_credit_bill_pkg.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/httemplate/search/cust_credit_bill_pkg.html b/httemplate/search/cust_credit_bill_pkg.html index 19a9869dd..622d1cfb4 100644 --- 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') ) }, - 'otaker', + sub { shift->cust_credit_bill->cust_credit->otaker }, 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, ], - #'sort_fields' => [ #XXX add - #], + 'sort_fields' => [ + 'amount', + 'cust_credit_date', + '', #'otaker', + '', #reason + '', #line item description + 'invnum', + '_date', + #cust fields + ], 'links' => [ '', '', |