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

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