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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember-print.tt (-14 / +12 lines)
Lines 94-100 Link Here
94
            [% END %]
94
            [% END %]
95
        </table>
95
        </table>
96
    [% END %]
96
    [% END %]
97
    [% IF accounts && ( totaldue < 0 || totaldue > 0 ) %]
97
    [% IF accounts && totaldue != 0 %]
98
        <table>
98
        <table>
99
            <caption>Account fines and payments</caption>
99
            <caption>Account fines and payments</caption>
100
            <tr>
100
            <tr>
Lines 105-122 Link Here
105
            </tr>
105
            </tr>
106
106
107
            [% FOREACH account IN accounts %]
107
            [% FOREACH account IN accounts %]
108
                [% IF ( account.amountoutstanding < 0 ) || ( account.amountoutstanding > 0 ) %]
108
                [% NEXT IF account.amountoutstanding == 0 %]
109
                    <tr>
109
                <tr>
110
                        <td>
110
                    <td>
111
                            [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
111
                        [% IF ( account.itemnumber ) %]<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">[% END %]
112
                            [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title |html %][% END %]
112
                        [% account.description %]&nbsp;[% IF ( account.printtitle ) %] [% account.title |html %][% END %]
113
                            [% IF ( account.itemnumber ) %]</a>[% END %]
113
                        [% IF ( account.itemnumber ) %]</a>[% END %]
114
                        </td>
114
                    </td>
115
                        <td>[% account.date | $KohaDates %]</td>
115
                    <td>[% account.date | $KohaDates %]</td>
116
                        <td style="text-align:right;">[% account.amount | $Price %]</td>
116
                    <td style="text-align:right;">[% account.amount | $Price %]</td>
117
                        <td style="text-align:right;">[% account.amountoutstanding | $Price %]</td>
117
                    <td style="text-align:right;">[% account.amountoutstanding | $Price %]</td>
118
                    </tr>
118
                </tr>
119
                [% END %]
120
            [% END %]
119
            [% END %]
121
120
122
            <tfoot>
121
            <tfoot>
123
- 

Return to bug 17100