View | Details | Raw Unified | Return to bug 6427
Collapse All | Expand All

(-)a/C4/Members.pm (-3 / +3 lines)
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
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/account.tt (-1 / +1 lines)
Lines 424-430 function accountPrint( type, id ) { Link Here
424
                                        <th>Description</th>
424
                                        <th>Description</th>
425
                                        <th>Type</th>
425
                                        <th>Type</th>
426
                                        <th>Amount</th>
426
                                        <th>Amount</th>
427
                                        <th>Outsanding</th>
427
                                        <th>Outstanding</th>
428
                                        <th>Created on</th>
428
                                        <th>Created on</th>
429
                                        <th>Updated on</th>
429
                                        <th>Updated on</th>
430
                                    </tr>
430
                                    </tr>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-1 / +1 lines)
Lines 49-55 Link Here
49
                                            <th>Description</th>
49
                                            <th>Description</th>
50
                                            <th>Type</th>
50
                                            <th>Type</th>
51
                                            <th>Amount</th>
51
                                            <th>Amount</th>
52
                                            <th>Outsanding</th>
52
                                            <th>Outstanding</th>
53
                                            <th>Created on</th>
53
                                            <th>Created on</th>
54
                                            <th>Updated on</th>
54
                                            <th>Updated on</th>
55
                                        </tr>
55
                                        </tr>
(-)a/koha-tmpl/opac-tmpl/prog/en/modules/opac-account.tt (-2 / +1 lines)
Lines 37-43 Link Here
37
                                                <th>Description</th>
37
                                                <th>Description</th>
38
                                                <th>Type</th>
38
                                                <th>Type</th>
39
                                                <th>Amount</th>
39
                                                <th>Amount</th>
40
                                                <th>Outsanding</th>
40
                                                <th>Outstanding</th>
41
                                                <th>Created on</th>
41
                                                <th>Created on</th>
42
                                                <th>Updated on</th>
42
                                                <th>Updated on</th>
43
                                            </tr>
43
                                            </tr>
44
- 

Return to bug 6427