From 0d83329036f8768c2bc974c3d8713a6089479610 Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 6 Nov 2003 13:56:50 +0000 Subject: [PATCH] link to customer, don't show custnum --- httemplate/search/report_receivables.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index 241ca581c..9938abdc6 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -172,10 +172,10 @@ END <% while ( my $row = $sth->fetchrow_hashref() ) { %> - <%= $row->{'custnum'} %>: + <%= $row->{'company'} ? $row->{'company'}. ' (' : '' %> <%= $row->{'last'}. ', '. $row->{'first'} %> - <%= $row->{'company'} ? ')' : '' %> + <%= $row->{'company'} ? ')' : '' %> $<%= sprintf("%.2f", $row->{'owed_0_30'} ) %> $<%= sprintf("%.2f", $row->{'owed_30_60'} ) %> -- 2.11.0