Lines 1235-1241
sub GetMemberAccountBalance {
Link Here
|
1235 |
push( @not_fines, @$man_inv_types ); |
1235 |
push( @not_fines, @$man_inv_types ); |
1236 |
} |
1236 |
} |
1237 |
|
1237 |
|
1238 |
my $other_charges = |
1238 |
my $fines = |
1239 |
Koha::Database->new()->schema->resultset('AccountDebit')->search( |
1239 |
Koha::Database->new()->schema->resultset('AccountDebit')->search( |
1240 |
{ |
1240 |
{ |
1241 |
borrowernumber => $borrowernumber, |
1241 |
borrowernumber => $borrowernumber, |
Lines 1245-1252
sub GetMemberAccountBalance {
Link Here
|
1245 |
|
1245 |
|
1246 |
return ( |
1246 |
return ( |
1247 |
$borrower->account_balance(), |
1247 |
$borrower->account_balance(), |
1248 |
$borrower->account_balance() - $other_charges, |
1248 |
$fines, |
1249 |
$other_charges |
1249 |
$borrower->account_balance() - $fines |
1250 |
); |
1250 |
); |
1251 |
} |
1251 |
} |
1252 |
|
1252 |
|