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

(-)a/C4/Members.pm (-3 / +3 lines)
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
(-)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