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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt (-35 / +36 lines)
Lines 70-110 Link Here
70
                </p>
70
                </p>
71
			[% END %]
71
			[% END %]
72
		[% END %]
72
		[% END %]
73
73
        <div class="page-section">
74
		<table>
74
            <table>
75
			<tr >
75
                <tr >
76
				<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
76
                    <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
77
				[% FOREACH loopco IN mainloo.loopcol %]
77
                    [% FOREACH loopco IN mainloo.loopcol %]
78
					<th>[% loopco.coltitle | html %]</th>
78
                        <th>[% loopco.coltitle | html %]</th>
79
				[% END %]
79
                    [% END %]
80
				<th>TOTAL</th>
80
                    <th>TOTAL</th>
81
			</tr>
81
                </tr>
82
				[% FOREACH loopro IN mainloo.looprow %]
82
                    [% FOREACH loopro IN mainloo.looprow %]
83
					<tr>
83
                        <tr>
84
						[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
84
                            [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
85
						[% loopro.rowtitle | html %]</td>
85
                            [% loopro.rowtitle | html %]</td>
86
						[% FOREACH loopcel IN loopro.loopcell %]
86
                            [% FOREACH loopcel IN loopro.loopcell %]
87
							[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
87
                                [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
88
								[% IF ( loopcel.value ) %][% loopcel.value | html %]
88
                                    [% IF ( loopcel.value ) %][% loopcel.value | html %]
89
								[% ELSE %] &nbsp;
89
                                    [% ELSE %] &nbsp;
90
								[% END %]
90
                                    [% END %]
91
							</td>
91
                                </td>
92
						[% END %]
92
                            [% END %]
93
						[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
93
                            [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
94
							[% loopro.totalrow | html %]
94
                                [% loopro.totalrow | html %]
95
						</td>
95
                            </td>
96
					</tr>
96
                        </tr>
97
				[% END %]
97
                    [% END %]
98
				<tr >
98
                    <tr >
99
					<th>TOTAL</th>
99
                        <th>TOTAL</th>
100
					[% FOREACH loopfoote IN mainloo.loopfooter %]
100
                        [% FOREACH loopfoote IN mainloo.loopfooter %]
101
						<th>
101
                            <th>
102
							[% loopfoote.totalcol | html %]
102
                                [% loopfoote.totalcol | html %]
103
						</th>
103
                            </th>
104
					[% END %]
104
                        [% END %]
105
					<th>[% mainloo.total | html %]</th>
105
                        <th>[% mainloo.total | html %]</th>
106
				</tr>
106
                    </tr>
107
		</table>
107
            </table>
108
        </div>
108
	[% END %]
109
	[% END %]
109
[% ELSE %]
110
[% ELSE %]
110
	<form method="get" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
111
	<form method="get" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt (-32 / +33 lines)
Lines 83-120 Link Here
83
                </ul>
83
                </ul>
84
            [% END %]
84
            [% END %]
85
		[% END %]
85
		[% END %]
86
		
86
        <div class="page-section">
87
		<table>
87
            <table>
88
			<tr>
88
                <tr>
89
                <th rowspan="2">Rank</th>
89
                    <th rowspan="2">Rank</th>
90
                <th rowspan="2">Patron</th>
90
                    <th rowspan="2">Patron</th>
91
                <th rowspan="2">Total</th>
91
                    <th rowspan="2">Total</th>
92
                [% FOREACH loopco IN mainloo.loopcol %]
92
                    [% FOREACH loopco IN mainloo.loopcol %]
93
                    <th>[% loopco.coltitle | html %]</th>
93
                        <th>[% loopco.coltitle | html %]</th>
94
                [% END %]
94
                    [% END %]
95
			</tr>
95
                </tr>
96
			<tr>
96
                <tr>
97
				[% FOREACH loopco IN mainloo.loopcol %]
97
                    [% FOREACH loopco IN mainloo.loopcol %]
98
					<th>Checkout count</th>
98
                        <th>Checkout count</th>
99
				[% END %]
99
                    [% END %]
100
			</tr>
100
                </tr>
101
				[% FOREACH loopro IN mainloo.looprow %]
101
                    [% FOREACH loopro IN mainloo.looprow %]
102
				<tr>
102
                    <tr>
103
					[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
103
                        [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
104
					[% loopro.rowtitle | html %]</td>
104
                        [% loopro.rowtitle | html %]</td>
105
                    [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
105
                        [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
106
                        [% IF ( loopro.reference ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.reference | uri %]">[% END %]
106
                            [% IF ( loopro.reference ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopro.reference | uri %]">[% END %]
107
                        [% IF ( loopro.patron ) %][% loopro.patron | html %][% END %]
107
                            [% IF ( loopro.patron ) %][% loopro.patron | html %][% END %]
108
                        [% IF ( loopro.reference ) %]</a>[% END %]
108
                            [% IF ( loopro.reference ) %]</a>[% END %]
109
                    </td>
109
                        </td>
110
					[% FOREACH loopcel IN loopro.loopcell %]
110
                        [% FOREACH loopcel IN loopro.loopcell %]
111
						[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
111
                            [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
112
						[% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
112
                            [% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
113
						</td>
113
                            </td>
114
					[% END %]
114
                        [% END %]
115
				</tr>
115
                    </tr>
116
				[% END %]
116
                    [% END %]
117
		</table>
117
            </table>
118
        </div>
118
	[% END %]
119
	[% END %]
119
[% ELSE %]
120
[% ELSE %]
120
    <h1>Patrons with the most checkouts</h1>
121
    <h1>Patrons with the most checkouts</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt (-18 / +19 lines)
Lines 51-74 Link Here
51
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
51
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
52
            [% END %]
52
            [% END %]
53
        [% END %]
53
        [% END %]
54
        
54
        <div class="page-section">
55
        <table>
55
            <table>
56
            <tr>
56
                <tr>
57
                <th>Num/Patrons</th>
57
                    <th>Num/Patrons</th>
58
                [% FOREACH loopco IN mainloo.loopcol %]
58
                    [% FOREACH loopco IN mainloo.loopcol %]
59
                    <th>[% loopco.coltitle | html %]</th>
59
                        <th>[% loopco.coltitle | html %]</th>
60
                [% END %]
60
                    [% END %]
61
            </tr>
61
                </tr>
62
                [% FOREACH loopro IN mainloo.looprow %]
62
                    [% FOREACH loopro IN mainloo.looprow %]
63
            <tr>
63
                <tr>
64
                        <td>[% loopro.rowtitle | html %]</td>
64
                            <td>[% loopro.rowtitle | html %]</td>
65
                        [% FOREACH loopcel IN loopro.loopcell %]
65
                            [% FOREACH loopcel IN loopro.loopcell %]
66
                        <td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
66
                            <td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
67
                            </td>
67
                                </td>
68
                        [% END %]
68
                            [% END %]
69
                    </tr>
69
                        </tr>
70
                [% END %]
70
                    [% END %]
71
        </table>
71
            </table>
72
        </div>
72
    [% END %]
73
    [% END %]
73
[% ELSE %]
74
[% ELSE %]
74
    <h1>Patrons with no checkouts</h1>
75
    <h1>Patrons with no checkouts</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt (-27 / +29 lines)
Lines 63-96 Link Here
63
				</p>
63
				</p>
64
			[% END %]
64
			[% END %]
65
		[% END %]
65
		[% END %]
66
		<table>
66
        <div class="page-section">
67
			<tr>
67
            <table>
68
				<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
68
                <tr>
69
				[% FOREACH loopco IN mainloo.loopcol %]
69
                    <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
70
					<th>[% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display | html %][% ELSE %][% loopco.coltitle | html %][% END %]
70
                    [% FOREACH loopco IN mainloo.loopcol %]
71
					</th>
71
                        <th>[% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display | html %][% ELSE %][% loopco.coltitle | html %][% END %]
72
				[% END %]
72
                        </th>
73
				<th>TOTAL</th>
73
                    [% END %]
74
			</tr>
74
                    <th>TOTAL</th>
75
				[% FOREACH loopro IN mainloo.looprow %]
75
                </tr>
76
                    [% FOREACH loopro IN mainloo.looprow %]
77
                        <tr>
78
                            <td>[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display | html %][% ELSE %][% loopro.rowtitle | html %][% END %]
79
                            </td>
80
                            [% FOREACH loopcel IN loopro.loopcell %]
81
                            <td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% ELSE %]&nbsp;[% END %]
82
                            </td>
83
                            [% END %]
84
                            <td>[% loopro.totalrow | html %]</td>
85
                        </tr>
86
                    [% END %]
76
                    <tr>
87
                    <tr>
77
						<td>[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display | html %][% ELSE %][% loopro.rowtitle | html %][% END %]
88
                        <th>TOTAL</th>
78
						</td>
89
                        [% FOREACH loopfoote IN mainloo.loopfooter %]
79
						[% FOREACH loopcel IN loopro.loopcell %]
90
                            <th>[% loopfoote.totalcol | html %]</th>
80
						<td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% ELSE %]&nbsp;[% END %]
91
                        [% END %]
81
						</td>
92
                        <th>[% mainloo.total | html %]</th>
82
						[% END %]
93
                    </tr>
83
						<td>[% loopro.totalrow | html %]</td>
94
            </table>
84
					</tr>
95
        </div>
85
				[% END %]
86
				<tr>
87
					<th>TOTAL</th>
88
					[% FOREACH loopfoote IN mainloo.loopfooter %]
89
						<th>[% loopfoote.totalcol | html %]</th>
90
					[% END %]
91
					<th>[% mainloo.total | html %]</th>
92
				</tr>
93
		</table>
94
	[% END %]
96
	[% END %]
95
[% ELSE %]
97
[% ELSE %]
96
98
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt (+2 lines)
Lines 57-62 Link Here
57
			[% END %]
57
			[% END %]
58
		[% END %]
58
		[% END %]
59
		
59
		
60
        <div class="page-section">
60
		<table>
61
		<table>
61
<tr>				<th>Rank/Biblioitemnumbers</th>
62
<tr>				<th>Rank/Biblioitemnumbers</th>
62
				[% FOREACH loopco IN mainloo.loopcol %]
63
				[% FOREACH loopco IN mainloo.loopcol %]
Lines 88-93 Link Here
88
					</tr>
89
					</tr>
89
				[% END %]
90
				[% END %]
90
		</table>
91
		</table>
92
        </div>
91
	[% END %]
93
	[% END %]
92
[% ELSE %]
94
[% ELSE %]
93
    <h1>Most-circulated items</h1>
95
    <h1>Most-circulated items</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt (-40 / +41 lines)
Lines 55-101 Link Here
55
					<p>[% loopfilte.crit | html %] =[% loopfilte.filter | html %]</p>
55
					<p>[% loopfilte.crit | html %] =[% loopfilte.filter | html %]</p>
56
			[% END %]
56
			[% END %]
57
		[% END %]
57
		[% END %]
58
		
58
        <div class="page-section">
59
        <table id="catalogue_stats">
59
            <table id="catalogue_stats">
60
            <thead>
60
                <thead>
61
                <tr>
61
                    <tr>
62
                    <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
62
                        <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
63
                    [% FOREACH loopco IN mainloo.loopcol %]
63
                        [% FOREACH loopco IN mainloo.loopcol %]
64
                        <th>[% loopco.coltitle | html %]</th>
64
                            <th>[% loopco.coltitle | html %]</th>
65
                        [% END %]
66
                        <th>TOTAL</th>
67
                    </tr>
68
                </thead>
69
                <tbody>
70
                    [% FOREACH loopro IN mainloo.looprow %]
71
                        <tr>
72
                            [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
73
                            [% loopro.rowtitle | html %]</td>
74
                            [% FOREACH loopcel IN loopro.loopcell %]
75
                                [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
76
                                    [% IF ( loopcel.value ) %][% loopcel.value | html %]
77
                                    [% ELSE %]&nbsp;
78
                                    [% END %]
79
                                </td>
80
                            [% END %]
81
                            [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
82
                                [% loopro.totalrow | html %]
83
                            </td>
84
                        </tr>
65
                    [% END %]
85
                    [% END %]
66
                    <th>TOTAL</th>
86
                </tbody>
67
                </tr>
87
                <tfoot>
68
            </thead>
88
                    <tr>
69
            <tbody>
89
                        <th>TOTAL (all results)</th>
70
				[% FOREACH loopro IN mainloo.looprow %]
90
                        [% FOREACH loopfoote IN mainloo.loopfooter %]
71
					<tr>
91
                            <th>
72
						[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
92
                                [% loopfoote.totalcol | html %]
73
						[% loopro.rowtitle | html %]</td>
93
                            </th>
74
						[% FOREACH loopcel IN loopro.loopcell %]
94
                        [% END %]
75
							[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
95
                        <th>[% mainloo.total | html %]</th>
76
								[% IF ( loopcel.value ) %][% loopcel.value | html %]
96
                    </tr>
77
								[% ELSE %]&nbsp;
97
                </tfoot>
78
								[% END %]
98
            </table>
79
							</td>
99
        </div>
80
						[% END %]
81
						[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
82
							[% loopro.totalrow | html %]
83
						</td>
84
					</tr>
85
				[% END %]
86
            </tbody>
87
            <tfoot>
88
				<tr>
89
                    <th>TOTAL (all results)</th>
90
					[% FOREACH loopfoote IN mainloo.loopfooter %]
91
						<th>
92
							[% loopfoote.totalcol | html %]
93
						</th>
94
					[% END %]
95
					<th>[% mainloo.total | html %]</th>
96
				</tr>
97
            </tfoot>
98
		</table>
99
	[% END %]
100
	[% END %]
100
[% ELSE %]
101
[% ELSE %]
101
102
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt (-33 / +34 lines)
Lines 52-90 Link Here
52
					<p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
52
					<p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
53
			[% END %]
53
			[% END %]
54
		[% END %]
54
		[% END %]
55
		
55
        <div class="page-section">
56
		<table>
56
            <table>
57
			<tr>
57
                <tr>
58
				<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
58
                    <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
59
				[% FOREACH loopco IN mainloo.loopcol %]
59
                    [% FOREACH loopco IN mainloo.loopcol %]
60
					<th>[% loopco.coltitle | html %]</th>
60
                        <th>[% loopco.coltitle | html %]</th>
61
				[% END %]
61
                    [% END %]
62
				<th>TOTAL</th>
62
                    <th>TOTAL</th>
63
			</tr>
63
                </tr>
64
				[% FOREACH loopro IN mainloo.looprow %]
64
                    [% FOREACH loopro IN mainloo.looprow %]
65
					<tr>
65
                        <tr>
66
						[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
66
                            [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
67
						[% loopro.rowtitle | html %]</td>
67
                            [% loopro.rowtitle | html %]</td>
68
						[% FOREACH loopcel IN loopro.loopcell %]
68
                            [% FOREACH loopcel IN loopro.loopcell %]
69
							[% IF ( loopcel.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
69
                                [% IF ( loopcel.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
70
								[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
70
                                    [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
71
							</td>
71
                                </td>
72
						[% END %]
72
                            [% END %]
73
						[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
73
                            [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
74
							[% loopro.totalrow | html %]
74
                                [% loopro.totalrow | html %]
75
						</td>
75
                            </td>
76
					</tr>
76
                        </tr>
77
				[% END %]
77
                    [% END %]
78
				<tr>
78
                    <tr>
79
					<th>TOTAL</th>
79
                        <th>TOTAL</th>
80
					[% FOREACH loopfoote IN mainloo.loopfooter %]
80
                        [% FOREACH loopfoote IN mainloo.loopfooter %]
81
						<th>
81
                            <th>
82
							[% loopfoote.totalcol | html %]
82
                                [% loopfoote.totalcol | html %]
83
						</th>
83
                            </th>
84
					[% END %]
84
                        [% END %]
85
					<th>[% mainloo.total | html %]</th>
85
                        <th>[% mainloo.total | html %]</th>
86
				</tr>
86
                    </tr>
87
		</table>
87
            </table>
88
        </div>
88
	[% END %]
89
	[% END %]
89
[% ELSE %]
90
[% ELSE %]
90
91
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-24 / +25 lines)
Lines 85-116 Link Here
85
            [% END %]
85
            [% END %]
86
            </ul>
86
            </ul>
87
        [% END %]
87
        [% END %]
88
        
88
        <div class="page-section">
89
        <table> 
89
            <table>
90
            <tr>
90
                <tr>
91
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
91
                    <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
92
                [% FOREACH loopco IN mainloo.loopcol %]
92
                    [% FOREACH loopco IN mainloo.loopcol %]
93
                    <th>[% loopco.coltitle_display | html %]</th>
93
                        <th>[% loopco.coltitle_display | html %]</th>
94
                [% END %]
95
                <th>TOTAL</th>
96
                </tr>
97
                [% FOREACH loopro IN mainloo.looprow %]
98
                    <tr>
99
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
100
                    [% FOREACH loopcel IN loopro.loopcell %]
101
						<td>[% loopcel.value || 0 | html %]</td>
102
                    [% END %]
94
                    [% END %]
103
						<td>[% loopro.totalrow | html %]</td>
95
                    <th>TOTAL</th>
104
                    </tr>
96
                    </tr>
105
                [% END %]
97
                    [% FOREACH loopro IN mainloo.looprow %]
106
            <tr>
98
                        <tr>
107
                <th>TOTAL</th>
99
                            <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
108
                [% FOREACH loopfoote IN mainloo.loopfooter %]
100
                        [% FOREACH loopcel IN loopro.loopcell %]
109
                <th>[% loopfoote.totalcol | html %]</th>
101
                            <td>[% loopcel.value || 0 | html %]</td>
110
                [% END %]
102
                        [% END %]
111
                <th>[% mainloo.total | html %]</th>
103
                            <td>[% loopro.totalrow | html %]</td>
112
            </tr>
104
                        </tr>
113
        </table>
105
                    [% END %]
106
                <tr>
107
                    <th>TOTAL</th>
108
                    [% FOREACH loopfoote IN mainloo.loopfooter %]
109
                    <th>[% loopfoote.totalcol | html %]</th>
110
                    [% END %]
111
                    <th>[% mainloo.total | html %]</th>
112
                </tr>
113
            </table>
114
        </div>
114
    [% END %]
115
    [% END %]
115
[% ELSE %]
116
[% ELSE %]
116
117
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt (-52 / +54 lines)
Lines 84-145 Link Here
84
            </div>
84
            </div>
85
        [% END %]
85
        [% END %]
86
86
87
        <table id="lostitems-table">
87
        <div class="page-section">
88
            <thead>
88
            <table id="lostitems-table">
89
                <tr>
89
                <thead>
90
                    [% IF csv_profiles.count %]
91
                        <th class="NoSort"></th>
92
                    [% END %]
93
                    <th>Title</th>
94
                    <th>Author</th>
95
                    <th>Lost status</th>
96
                    <th>Lost on</th>
97
                    <th>Barcode</th>
98
                    <th>Call number</th>
99
                    <th>Date last seen</th>
100
                    <th>Price</th>
101
                    <th>Rep.price</th>
102
                    <th>Library</th>
103
                    <th>Item type</th>
104
                    <th>Collection</th>
105
                    <th>Current library</th>
106
                    <th>Location</th>
107
                    <th>Not for loan status</th>
108
                    <th>Notes</th>
109
                </tr>
110
            </thead>
111
            <tbody>
112
                [% FOREACH item IN items %]
113
                    <tr>
90
                    <tr>
114
                        [% IF csv_profiles.count %]
91
                        [% IF csv_profiles.count %]
115
                            <td style="text-align:center;vertical-align:middle">
92
                            <th class="NoSort"></th>
116
                                <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
117
                            </td>
118
                        [% END %]
93
                        [% END %]
119
                        <td>
94
                        <th>Title</th>
120
                            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.biblio.title | html %]</a>
95
                        <th>Author</th>
121
                        </td>
96
                        <th>Lost status</th>
122
                        <td>[% item.biblio.author | html %]</td>
97
                        <th>Lost on</th>
123
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) | html %]
98
                        <th>Barcode</th>
124
                        <td data-order="[% item.itemlost_on | html %]">[% item.itemlost_on | $KohaDates %]</td>
99
                        <th>Call number</th>
125
                        <td>
100
                        <th>Date last seen</th>
126
                            <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.barcode | html %]</a>
101
                        <th>Price</th>
127
                        </td>
102
                        <th>Rep.price</th>
128
                        <td>[% item.itemcallnumber | html %]</td>
103
                        <th>Library</th>
129
                        <td data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td>
104
                        <th>Item type</th>
130
                        <td>[% item.price | $Price %]</td>
105
                        <th>Collection</th>
131
                        <td>[% item.replacementprice | $Price %]</td>
106
                        <th>Current library</th>
132
                        <td>[% Branches.GetName(item.homebranch) | html %]</td>
107
                        <th>Location</th>
133
                        <td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td>
108
                        <th>Not for loan status</th>
134
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td>
109
                        <th>Notes</th>
135
                        <td>[% Branches.GetName(item.holdingbranch) | html %]</td>
136
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
137
                        <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %]
138
                        <td>[% item.itemnotes | $raw %]</td>
139
                    </tr>
110
                    </tr>
140
                [% END %]
111
                </thead>
141
            </tbody>
112
                <tbody>
142
        </table>
113
                    [% FOREACH item IN items %]
114
                        <tr>
115
                            [% IF csv_profiles.count %]
116
                                <td style="text-align:center;vertical-align:middle">
117
                                    <input type="checkbox" value="[% item.itemnumber | html %]" name="itemnumber" />
118
                                </td>
119
                            [% END %]
120
                            <td>
121
                                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.biblio.title | html %]</a>
122
                            </td>
123
                            <td>[% item.biblio.author | html %]</td>
124
                            <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.itemlost', authorised_value => item.itemlost ) | html %]
125
                            <td data-order="[% item.itemlost_on | html %]">[% item.itemlost_on | $KohaDates %]</td>
126
                            <td>
127
                                <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% item.biblionumber | uri %]">[% item.barcode | html %]</a>
128
                            </td>
129
                            <td>[% item.itemcallnumber | html %]</td>
130
                            <td data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td>
131
                            <td>[% item.price | $Price %]</td>
132
                            <td>[% item.replacementprice | $Price %]</td>
133
                            <td>[% Branches.GetName(item.homebranch) | html %]</td>
134
                            <td>[% ItemTypes.GetDescription(item.effective_itemtype) | html %]</td>
135
                            <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode', authorised_value => item.ccode ) | html %]</td>
136
                            <td>[% Branches.GetName(item.holdingbranch) | html %]</td>
137
                            <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => item.location ) | html %]</td>
138
                            <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => item.notforloan ) | html %]
139
                            <td>[% item.itemnotes | $raw %]</td>
140
                        </tr>
141
                    [% END %]
142
                </tbody>
143
            </table>
144
        </div>
143
    [% END %]
145
    [% END %]
144
	[% ELSE %]
146
	[% ELSE %]
145
	
147
	
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt (-22 / +24 lines)
Lines 51-78 Link Here
51
[% IF ( do_it ) %]
51
[% IF ( do_it ) %]
52
[% FOREACH mainloo IN mainloop %]
52
[% FOREACH mainloo IN mainloop %]
53
    <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h1>
53
    <h1>Reports on item types [% IF branch %] held at [% Branches.GetName( branch ) | html %][% END %]</h1>
54
	<table id="itemtypest">
54
    <div class="page-section">
55
		<thead>
55
        <table id="itemtypest">
56
		<tr>
56
            <thead>
57
			<th>Item type</th>
57
            <tr>
58
			<th>Count</th>
58
                <th>Item type</th>
59
		</tr>
59
                <th>Count</th>
60
		</thead>
60
            </tr>
61
		<tfoot>
61
            </thead>
62
			<tr>
62
            <tfoot>
63
				<th>TOTAL</th>
63
                <tr>
64
				<th>[% mainloo.total | html %]</th>
64
                    <th>TOTAL</th>
65
			</tr>
65
                    <th>[% mainloo.total | html %]</th>
66
		</tfoot>
66
                </tr>
67
		<tbody>
67
            </tfoot>
68
			[% FOREACH loopitemtyp IN mainloo.loopitemtype %]
68
            <tbody>
69
				<tr>
69
                [% FOREACH loopitemtyp IN mainloo.loopitemtype %]
70
                    <td>[% ItemTypes.GetDescription( loopitemtyp.itemtype ) | html %]</td>
70
                    <tr>
71
					<td>[% loopitemtyp.count | html %]</td>
71
                        <td>[% ItemTypes.GetDescription( loopitemtyp.itemtype ) | html %]</td>
72
				</tr>
72
                        <td>[% loopitemtyp.count | html %]</td>
73
			[% END %]
73
                    </tr>
74
		</tbody>
74
                [% END %]
75
	</table>
75
            </tbody>
76
        </table>
77
    </div>
76
[% END %]
78
[% END %]
77
[% ELSE %]
79
[% ELSE %]
78
        <h1>View a count of items held at your library grouped by item type</h1>
80
        <h1>View a count of items held at your library grouped by item type</h1>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-27 / +27 lines)
Lines 81-114 Link Here
81
        [% END %]
81
        [% END %]
82
		
82
		
83
    [% FOREACH mainloo IN mainloop %]
83
    [% FOREACH mainloo IN mainloop %]
84
        
84
        <div class="page-section">
85
        <table> 
85
            <table>
86
            <tr>
86
                <tr>
87
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
87
                    <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
88
                [% FOREACH loopco IN mainloo.loopcol %]
88
                    [% FOREACH loopco IN mainloo.loopcol %]
89
                    <th>[% PROCESS reservestatus field=mainloo.column value=loopco.coltitle_display %]</th>
89
                        <th>[% PROCESS reservestatus field=mainloo.column value=loopco.coltitle_display %]</th>
90
                [% END %]
91
                <th>TOTAL</th>
92
                </tr>
93
                [% FOREACH loopro IN mainloo.looprow %]
94
                    <tr>
95
                        <td>[% PROCESS reservestatus field=mainloo.line value=loopro.rowtitle_display %]</td>
96
                    [% FOREACH loopcel IN loopro.loopcell %]
97
						<td align="center">
98
                        [% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output | uri %]&amp;[% loopcel.url_complement | uri %]">[% loopcel.value | html %]</a>[% ELSE %][% loopcel.value | html %][% END %]
99
						</td>
100
                    [% END %]
90
                    [% END %]
101
						<td align="center">[% loopro.totalrow | html %]</td>
91
                    <th>TOTAL</th>
102
                    </tr>
92
                    </tr>
103
                [% END %]
93
                    [% FOREACH loopro IN mainloo.looprow %]
104
            <tr>
94
                        <tr>
105
                <th>TOTAL</th>
95
                            <td>[% PROCESS reservestatus field=mainloo.line value=loopro.rowtitle_display %]</td>
106
                [% FOREACH loopfoote IN mainloo.loopfooter %]
96
                        [% FOREACH loopcel IN loopro.loopcell %]
107
                <th>[% loopfoote.totalcol | html %]</th>
97
                            <td align="center">
108
                [% END %]
98
                            [% IF ( loopcel.url_complement ) %]<a href="reserves_stats.pl?output=[% loopcel.output | uri %]&amp;[% loopcel.url_complement | uri %]">[% loopcel.value | html %]</a>[% ELSE %][% loopcel.value | html %][% END %]
109
                <th>[% mainloo.total | html %]</th>
99
                            </td>
110
            </tr>
100
                        [% END %]
111
        </table>
101
                            <td align="center">[% loopro.totalrow | html %]</td>
102
                        </tr>
103
                    [% END %]
104
                <tr>
105
                    <th>TOTAL</th>
106
                    [% FOREACH loopfoote IN mainloo.loopfooter %]
107
                    <th>[% loopfoote.totalcol | html %]</th>
108
                    [% END %]
109
                    <th>[% mainloo.total | html %]</th>
110
                </tr>
111
            </table>
112
        </div>
112
    [% END %]
113
    [% END %]
113
    [% END %]
114
    [% END %]
114
[% ELSE %]
115
[% ELSE %]
115
- 

Return to bug 39053