diff options
author | ivan <ivan> | 2006-07-23 14:16:48 +0000 |
---|---|---|
committer | ivan <ivan> | 2006-07-23 14:16:48 +0000 |
commit | 8e498d1159f4e6756239839def94200c3154a494 (patch) | |
tree | 3086df5b599fb6fca887e5c547726d5978033e88 /httemplate/search/report_receivables.cgi | |
parent | e75070ffcf15e537036e4685d2aabb0415eec6d3 (diff) |
i should go to sleep
Diffstat (limited to 'httemplate/search/report_receivables.cgi')
-rwxr-xr-x | httemplate/search/report_receivables.cgi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/search/report_receivables.cgi b/httemplate/search/report_receivables.cgi index f42d8af7f..c3dc9902c 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -119,13 +119,13 @@ END my $status = 'unknown'; if ( $self->num_pkgs == 0 ) { $status = 'prospect'; - } elsif ( $self->active_pkgs) > 0 ) { + } elsif ( $row->active_pkgs > 0 ) { $status = 'active'; - } elsif ( $self->inactive_pkgs > 0 ) { + } elsif ( $row->inactive_pkgs > 0 ) { $status = 'inactive'; - } elsif ( $self->suspended_pkgs > 0 ) { + } elsif ( $row->suspended_pkgs > 0 ) { $status = 'suspended'; - } elsif ( $self->cancelled_pkgs > 0 ) { + } elsif ( $row->cancelled_pkgs > 0 ) { $status = 'cancelled' } |