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
_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha.org/mailman/listinfo/koha-patches