this should fix columns not showing up in receivables report... not surea bout #3801...
authorivan <ivan>
Thu, 31 Jul 2008 23:32:08 +0000 (23:32 +0000)
committerivan <ivan>
Thu, 31 Jul 2008 23:32:08 +0000 (23:32 +0000)
httemplate/search/report_receivables.cgi

index b2fbb4d..58d87fa 100755 (executable)
@@ -127,7 +127,13 @@ my $count_sql = "select count(*) from cust_main $where";
 my $sql_query = {
   'table'     => 'cust_main',
   'hashref'   => {},
-  'select'    => "*, $owed_cols, $packages_cols",
+  'select'    => join(',',
+                   #'cust_main.*',
+                   'custnum',
+                   $owed_cols,
+                   $packages_cols,
+                   FS::UI::Web::cust_sql_fields(),
+                 ),
   'extra_sql' => $where,
   'order_by'  => "order by coalesce(lower(company), ''), lower(last)",
 };