projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2cf6c2
)
Bug 1962: Follow-up: Add fine notification during check-in
author
Katrin Fischer
<Katrin.Fischer.83@web.de>
Mon, 7 Mar 2011 21:30:21 +0000
(15:30 -0600)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Fri, 11 Mar 2011 19:32:34 +0000
(08:32 +1300)
Don't show message when patron has no fines.
Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
circ/returns.pl
patch
|
blob
|
history
diff --git
a/circ/returns.pl
b/circ/returns.pl
index
c05277c
..
40706a2
100755
(executable)
--- a/
circ/returns.pl
+++ b/
circ/returns.pl
@@
-243,7
+243,7
@@
if ($barcode) {
push( @inputloop, \%input );
my ( $od, $issue, $fines ) = GetMemberIssuesAndFines( $borrower->{'borrowernumber'} );
- if ($fines) {
+ if ($fines
> 0
) {
$template->param( fines => sprintf("%.2f",$fines) );
$template->param( fineborrowernumber => $borrower->{'borrowernumber'} );
}