projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
970fcce
)
(bug #3193) fix the comtd value in acqui-home.pl
author
Nahuel ANGELINETTI
<nahuel.angelinetti@biblibre.com>
Wed, 6 May 2009 10:26:55 +0000
(12:26 +0200)
committer
Galen Charlton
<galen.charlton@liblime.com>
Thu, 7 May 2009 21:42:03 +0000
(16:42 -0500)
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 <galen.charlton@liblime.com>
C4/Bookfund.pm
patch
|
blob
|
history
diff --git
a/C4/Bookfund.pm
b/C4/Bookfund.pm
index
b794aae
..
8e9c95f
100644
(file)
--- 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 ) {