fix diabled package optional reporting classes still selectable on package def edit...
[freeside.git] / httemplate / search / cust_credit.html
index e4975c8..9a14dce 100755 (executable)
@@ -3,46 +3,46 @@
                  'name'        => 'credits',
                  'query'       => $sql_query,
                  'count_query' => $count_query,
-                 'count_addl'  => [ '$%.2f total credited', ],
+                 'count_addl'  => [ '$%.2f total credited (gross)', ],
                  #'redirect'    => $link,
                  'header'      => [ 'Amount',
                                     'Date',
-                                    FS::UI::Web::cust_header(),
                                     'By',
-                                    'Reason'
+                                    'Reason',
+                                    FS::UI::Web::cust_header(),
                                   ],
                  'fields'      => [
                    #'crednum',
                    sub { sprintf('$%.2f', shift->amount ) },
                    sub { time2str('%b %d %Y', shift->_date ) },
-                   \&FS::UI::Web::cust_fields,
                    'otaker',
                    'reason',
+                   \&FS::UI::Web::cust_fields,
                  ],
                  #'align' => 'rrrllll',
-                 'align' => 'rr'.FS::UI::Web::cust_aligns().'ll',
+                 'align' => 'rrll'.FS::UI::Web::cust_aligns(),
                  'links' => [
                    '',
                    '',
+                   '',
+                   '',
                    ( map { $_ ne 'Cust. Status' ? $clink : '' }
                          FS::UI::Web::cust_header()
                    ),
-                   '',
-                   '',
                  ],
                  'color' => [ 
                               '',
                               '',
-                              FS::UI::Web::cust_colors(),
                               '',
                               '',
+                              FS::UI::Web::cust_colors(),
                             ],
                  'style' => [ 
                               '',
                               '',
-                              FS::UI::Web::cust_styles(),
                               '',
                               '',
+                              FS::UI::Web::cust_styles(),
                             ],
       )
 %>