[freeside-commits] freeside/httemplate/search cust_credit_bill_pkg.html, 1.3.4.6, 1.3.4.7

Ivan,,, ivan at wavetail.420.am
Fri Apr 15 15:19:43 PDT 2011


Update of /home/cvs/cvsroot/freeside/httemplate/search
In directory wavetail.420.am:/tmp/cvs-serv15552

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	cust_credit_bill_pkg.html 
Log Message:
link new tax report to cust_credit_bill_pkg for credits, RT#12332

Index: cust_credit_bill_pkg.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/cust_credit_bill_pkg.html,v
retrieving revision 1.3.4.6
retrieving revision 1.3.4.7
diff -u -w -d -r1.3.4.6 -r1.3.4.7
--- cust_credit_bill_pkg.html	15 Apr 2011 22:12:57 -0000	1.3.4.6
+++ cust_credit_bill_pkg.html	15 Apr 2011 22:19:40 -0000	1.3.4.7
@@ -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'       => [
                    '',
                    '',



More information about the freeside-commits mailing list