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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt (-7 / +25 lines)
Lines 1-4 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% USE ItemTypes %]
2
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
<title>Items with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
4
<title>Items with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% INCLUDE 'doc-head-close.inc' %]
Lines 45-53 Link Here
45
                                [% ELSE %]
46
                                [% ELSE %]
46
                                    <p>
47
                                    <p>
47
                                [% END %]
48
                                [% END %]
48
                                [% IF ( loopfilte.sql ) %]<span class="sql">[% END %]
49
                                [% IF ( loopfilte.sql ) %]
49
                                [% loopfilte.crit | html %] = [% loopfilte.filter | html %]
50
                                    <span class="sql">
50
                                [% IF ( loopfilte.sql ) %]</span>[% END %]
51
                                        [% loopfilte.crit | html %] = [% loopfilte.filter | html %]
52
                                    </span>
53
                                [% ELSE %]
54
                                    <span>[% loopfilte.crit | html %] = [% loopfilte.filter | html %]</span>
55
                                    [% IF ( loopfilte.crit == "by" ) %]
56
                                        [% group_by = loopfilte.filter %]
57
                                    [% END %]
58
                                [% END %]
51
                                </p>
59
                                </p>
52
                            [% END %]
60
                            [% END %]
53
                        [% END %]
61
                        [% END %]
Lines 65-71 Link Here
65
                                    [% FOREACH looptable IN mainloo.looptables %]
73
                                    [% FOREACH looptable IN mainloo.looptables %]
66
                                        <tr>
74
                                        <tr>
67
                                            <td>
75
                                            <td>
68
                                                <a href="#table[% looptable.coltitle | uri %]">[% looptable.coltitle | html %]</a>
76
                                                [% IF ( group_by=="itype" ) %]
77
                                                    <a href="#table[% looptable.coltitle | uri %]">[% ItemTypes.GetDescription( looptable.coltitle ) | html %]</a>
78
                                                [% ELSIF ( group_by=="homebranch" ) %]
79
                                                    <a href="#table[% looptable.coltitle | uri %]">[% Branches.GetName( looptable.coltitle ) | html %]</a>
80
                                                [% ELSE %]
81
                                                    <a href="#table[% looptable.coltitle | uri %]">[% looptable.coltitle | html %]</a>
82
                                                [% END %]
69
                                            </td>
83
                                            </td>
70
                                            <td>
84
                                            <td>
71
                                                [% IF ( looptable.looptable_count ) %]
85
                                                [% IF ( looptable.looptable_count ) %]
Lines 89-96 Link Here
89
                        [% FOREACH looptable IN mainloo.looptables %]
103
                        [% FOREACH looptable IN mainloo.looptables %]
90
                            <div class="page-section">
104
                            <div class="page-section">
91
                                <h3>
105
                                <h3>
92
                                    <a id="table[% looptable.coltitle | html %]"></a>
106
                                    [% IF ( group_by=="itype" ) %]
93
                                    [% looptable.coltitle | html %]
107
                                        <a id="table[% looptable.coltitle | html %]" >[% ItemTypes.GetDescription( looptable.coltitle ) | html %]</a>
108
                                    [% ELSIF ( group_by=="homebranch" ) %]
109
                                        <a id="table[% looptable.coltitle | html %]" >[% Branches.GetName( looptable.coltitle ) | html %]</a>
110
                                    [% ELSE %]
111
                                        Ungrouped
112
                                    [% END %]
94
                                </h3>
113
                                </h3>
95
                                <table>
114
                                <table>
96
                                    <tr>
115
                                    <tr>
97
- 

Return to bug 32589