From 79f6314575d140a09b362129e5ee580468059e99 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 23 Jul 2006 14:23:39 +0000 Subject: [PATCH] sql num_pkgs conflicting with method... --- 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 b08fc8143..3052ea93c 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -70,7 +70,7 @@ END my $cancelled_sql = FS::cust_pkg->inactive_sql; my $packages_cols = <num_pkgs == 0 ) { + if ( $row->num_pkgs_sql == 0 ) { $status = 'prospect'; } elsif ( $row->active_pkgs > 0 ) { $status = 'active'; -- 2.11.0