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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-15 / +14 lines)
Lines 699-707 Link Here
699
                                    <a href="#relatives-issues" id="relatives-issues-tab">[% relatives_issues_count | html %] Relatives' checkouts</a>
699
                                    <a href="#relatives-issues" id="relatives-issues-tab">[% relatives_issues_count | html %] Relatives' checkouts</a>
700
                                </li>
700
                                </li>
701
                            [% END %]
701
                            [% END %]
702
                            <li id="finestab">
702
                            [% IF ( fines ) %]
703
                                <a href="#finesandcharges">Fines &amp; Charges ([% fines | $Price %])</a>
703
                                <li id="finestab">
704
                            </li>
704
                                    <a href="#finesandcharges">Fines &amp; Charges ([% fines | $Price %])</a>
705
                                </li>
706
                            [% END %]
705
                            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
707
                            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
706
                                <li>
708
                                <li>
707
                                    [% IF ( holds_count ) %]
709
                                    [% IF ( holds_count ) %]
Lines 753-765 Link Here
753
755
754
                        [% INCLUDE "relatives-issues-table.inc" %]
756
                        [% INCLUDE "relatives-issues-table.inc" %]
755
757
756
                        <div id="finesandcharges">
758
                        [% IF ( fines ) %]
757
                            [% IF ( fines ) %]
759
                            <div id="finesandcharges">
758
                                <p>Total due: [% fines | $Price %]</p>
760
                                [% IF ( fines ) %]
759
                            [% ELSE %]
761
                                    <p>Total due: [% fines | $Price %]</p>
760
                                <p>No outstanding charges</p>
762
                                [% ELSE %]
761
                            [% END %]
763
                                    <p>No outstanding charges</p>
762
                        </div>
764
                                [% END %]
765
                            </div>
766
                        [% END %]
763
767
764
                        [% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %]
768
                        [% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %]
765
                            <div id="clubs-tab">
769
                            <div id="clubs-tab">
Lines 888-897 Link Here
888
        columns_settings_issues_table = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
892
        columns_settings_issues_table = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) | $raw %]
889
893
890
        $(document).ready(function() {
894
        $(document).ready(function() {
891
            $("#finestab").hide();
892
            [% IF fines %]
893
                $("#finestab").show();
894
            [% END %]
895
895
896
            if ( $('#clubs-tab').length ) {
896
            if ( $('#clubs-tab').length ) {
897
                $('#clubs-tab-link').on('click', function() {
897
                $('#clubs-tab-link').on('click', function() {
898
- 

Return to bug 6508