From 8c8da2d1b4cf3e65e8ea76e173752b5c1d223151 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 16 Apr 2014 08:11:08 -0400 Subject: [PATCH] Bug 6427 [Part 23] - Fix typos, symantic error in GetMemberAccountBalance --- C4/Members.pm | 6 +++--- .../prog/en/modules/members/account.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-account.tt | 2 +- .../opac-tmpl/prog/en/modules/opac-account.tt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/C4/Members.pm b/C4/Members.pm index 0517214..444cf75 100644 --- a/C4/Members.pm +++ b/C4/Members.pm @@ -1236,7 +1236,7 @@ sub GetMemberAccountBalance { push( @not_fines, @$man_inv_types ); } - my $other_charges = + my $fines = Koha::Database->new()->schema->resultset('AccountDebit')->search( { borrowernumber => $borrowernumber, @@ -1246,8 +1246,8 @@ sub GetMemberAccountBalance { return ( $borrower->account_balance(), - $borrower->account_balance() - $other_charges, - $other_charges + $fines, + $borrower->account_balance() - $fines ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/account.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/account.tt index ae98c2c..1487881 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/account.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/account.tt @@ -424,7 +424,7 @@ function accountPrint( type, id ) { Description Type Amount - Outsanding + Outstanding Created on Updated on diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt index 294bf12..2128fd4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt @@ -49,7 +49,7 @@ Description Type Amount - Outsanding + Outstanding Created on Updated on diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tt index a46122d..913a831 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tt @@ -37,7 +37,7 @@ Description Type Amount - Outsanding + Outstanding Created on Updated on -- 1.7.2.5