[Koha-patches] [PATCH] Bug 1962: Follow-up: Add fine notification during check-in

Chris Nighswonger cnighswonger at foundations.edu
Sat Mar 12 22:27:00 CET 2011


This patch does not apply cleanly to 3.2.x. If it should apply, fixup and
resubmit with [3.2.x] in the subject line.

Kind Regards,
Chris

# On branch 3.2.x
# Your branch is ahead of 'origin/3.2.x' by 6 commits.
#
# Unmerged paths:
#   (use "git reset HEAD <file>..." to unstage)
#   (use "git add/rm <file>..." as appropriate to mark resolution)
#
#       both modified:      circ/returns.pl
#



On Sun, Mar 6, 2011 at 5:04 PM, Katrin Fischer <Katrin.Fischer.83 at web.de>wrote:

> 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
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20110312/d7e654be/attachment-0001.htm>


More information about the Koha-patches mailing list