[Koha-patches] [PATCH] Bug 1962: Follow-up: Add fine notification during check-in
Katrin Fischer
Katrin.Fischer.83 at web.de
Sun Mar 6 23:04:09 CET 2011
Don't show message when patron has no fines.
---
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.7.1
More information about the Koha-patches
mailing list