X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fsearch%2Freport_receivables.cgi;h=0e95ad73c079505a45ae650192b5beecfcbedd58;hp=66928ebbbe24500b60bfa77f53c01b1ed85c447c;hb=cec266740d89b82ce9075954928c5b336d0ec18e;hpb=554cacf4a21ac293280424bf6b09669642426277 diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index 66928ebbb..0e95ad73c 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -93,7 +93,7 @@ where 0 < ,0 ) -order by lower(company), lower(last) +order by coalesce(lower(company), ''), lower(last) END @@ -130,7 +130,7 @@ END } %> - + <%= $row->{'custnum'} %>: <%= $row->{'company'} ? $row->{'company'}. ' (' : '' %><%= $row->{'last'}. ', '. $row->{'first'} %><%= $row->{'company'} ? ')' : '' %> <%= $status %>