Lines 1225-1231
sub GetMemberAccountBalance {
Link Here
|
1225 |
push( @not_fines, @$man_inv_types ); |
1225 |
push( @not_fines, @$man_inv_types ); |
1226 |
} |
1226 |
} |
1227 |
|
1227 |
|
1228 |
my $other_charges = |
1228 |
my $fines = |
1229 |
Koha::Database->new()->schema->resultset('AccountDebit')->search( |
1229 |
Koha::Database->new()->schema->resultset('AccountDebit')->search( |
1230 |
{ |
1230 |
{ |
1231 |
borrowernumber => $borrowernumber, |
1231 |
borrowernumber => $borrowernumber, |
Lines 1235-1242
sub GetMemberAccountBalance {
Link Here
|
1235 |
|
1235 |
|
1236 |
return ( |
1236 |
return ( |
1237 |
$borrower->account_balance(), |
1237 |
$borrower->account_balance(), |
1238 |
$borrower->account_balance() - $other_charges, |
1238 |
$fines, |
1239 |
$other_charges |
1239 |
$borrower->account_balance() - $fines |
1240 |
); |
1240 |
); |
1241 |
} |
1241 |
} |
1242 |
|
1242 |
|