From 9397849cb897ebc82a8c30846ce5556382b06920 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 23 Jul 2006 14:20:10 +0000 Subject: [PATCH] hopefully fix the statuses here --- 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 061febc10..4c31f2afa 100755 --- a/httemplate/search/report_receivables.cgi +++ b/httemplate/search/report_receivables.cgi @@ -170,7 +170,7 @@ END ], 'fields' => [ \&FS::UI::Web::cust_fields, - sub { (shift->status_statuscol)[0] }, + sub { ( &{$status_statuscol}($row) )[0] }, #sub { ucfirst(shift->status) }, sub { sprintf( $money_char.'%.2f', shift->get('owed_0_30') ) }, @@ -203,7 +203,7 @@ END 'b', '', '', '', '', 'b', ], 'color' => [ ( map '', FS::UI::Web::cust_header() ), - sub { (shift->status_statuscol)[1] }, + sub { ( &{$status_statuscol}($row) )[1] }, #sub { shift->statuscolor; }, '', '', -- 2.11.0