[Koha-patches] [PATCH] (bug #3193) fix the comtd value in acqui-home.pl
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Wed May 6 12:26:55 CEST 2009
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.
---
C4/Bookfund.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Bookfund.pm b/C4/Bookfund.pm
index 7c00067..7d42617 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 ) {
--
1.6.0.4
More information about the Koha-patches
mailing list