Lines 1189-1195
sub GetMemberAccountBalance {
Link Here
|
1189 |
push( @not_fines, @$man_inv_types ); |
1189 |
push( @not_fines, @$man_inv_types ); |
1190 |
} |
1190 |
} |
1191 |
|
1191 |
|
1192 |
my $other_charges = |
1192 |
my $fines = |
1193 |
Koha::Database->new()->schema->resultset('AccountDebit')->search( |
1193 |
Koha::Database->new()->schema->resultset('AccountDebit')->search( |
1194 |
{ |
1194 |
{ |
1195 |
borrowernumber => $borrowernumber, |
1195 |
borrowernumber => $borrowernumber, |
Lines 1199-1206
sub GetMemberAccountBalance {
Link Here
|
1199 |
|
1199 |
|
1200 |
return ( |
1200 |
return ( |
1201 |
$borrower->account_balance(), |
1201 |
$borrower->account_balance(), |
1202 |
$borrower->account_balance() - $other_charges, |
1202 |
$fines, |
1203 |
$other_charges |
1203 |
$borrower->account_balance() - $fines |
1204 |
); |
1204 |
); |
1205 |
} |
1205 |
} |
1206 |
|
1206 |
|