[Koha-patches] [PATCH] [SIGNED-OFF] Bug 1962: Follow-up: Add fine notification during check-in
Liz Rea
lrea at nekls.org
Mon Mar 7 22:30:21 CET 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Don't show message when patron has no fines.
Signed-off-by: Liz Rea <lrea at nekls.org>
---
circ/returns.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/circ/returns.pl b/circ/returns.pl
index c05277c..40706a2 100755
--- 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'} );
}
--
1.5.6.5
More information about the Koha-patches
mailing list