From 5ccafb55e22c787c76a043138207f2a051077622 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Wed, 6 May 2009 12:26:55 +0200 Subject: [PATCH] (bug #3193) fix the comtd value in acqui-home.pl this patch fix the value of the comtd value which is not the same as in bookfund.pl, clicking on the value from acqui-home. Signed-off-by: Galen Charlton Signed-off-by: Henri-Damien LAURENT --- C4/Bookfund.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Bookfund.pm b/C4/Bookfund.pm index b794aae154..8e9c95f25a 100644 --- a/C4/Bookfund.pm +++ b/C4/Bookfund.pm @@ -272,7 +272,7 @@ sub GetBookFundBreakdown { while ( my $data = $sth->fetchrow_hashref ) { my $left = $data->{'tleft'}; - if ( (!$left && (!$data->{'datereceived'}||$data->{'datereceived'} eq '0000-00-00') ) || $left eq '' ) { + if ( !$left || $left eq '' ) { $left = $data->{'quantity'}; } if ( $left && $left > 0 ) { -- 2.39.5