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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc (-2 / +2 lines)
Lines 9-15 Link Here
9
    </div>
9
    </div>
10
10
11
    <div id="orders_search" class="residentsearch">
11
    <div id="orders_search" class="residentsearch">
12
		<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
12
        <form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
13
            <input type="text" id="title" style="display:inline;left: 125px;" class="multi-input" placeholder="Title" name="title" size="13" value="[% title | html %]" />
13
            <input type="text" id="title" style="display:inline;left: 125px;" class="multi-input" placeholder="Title" name="title" size="13" value="[% title | html %]" />
14
            <input type="text" id="searchsupplier" style="display:inline" class="multi-input" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
14
            <input type="text" id="searchsupplier" style="display:inline" class="multi-input" placeholder="Vendor" name="name" size="13" value="[% name | html %]" />
15
            <input type="hidden" id="do_search" name="do_search" value="do" />
15
            <input type="hidden" id="do_search" name="do_search" value="do" />
Lines 21-27 Link Here
21
                <input type="text" style="right: 260px" placeholder="Basket" name="basket" id="basket" />
21
                <input type="text" style="right: 260px" placeholder="Basket" name="basket" id="basket" />
22
                <input type="text" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
22
                <input type="text" placeholder="Invoice number" name="booksellerinvoicenumber" id="booksellerinvoicenumber" />
23
            </p>
23
            </p>
24
	    </form>
24
        </form>
25
    </div>
25
    </div>
26
26
27
27
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc (-7 / +7 lines)
Lines 1-18 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
2
3
<div id="header_search">
3
<div id="header_search">
4
	<div id="contract_description_search" class="residentsearch">
4
    <div id="contract_description_search" class="residentsearch">
5
	<form action="[% script_name | html %]" method="post">
5
    <form action="[% script_name | html %]" method="post">
6
        <input class="head-searchbox" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Search by contract name or/and description:"/>
6
        <input class="head-searchbox" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Search by contract name or/and description:"/>
7
		<input type="submit" class="submit" id="submit" name="search" value="" />
7
        <input type="submit" class="submit" id="submit" name="search" value="" />
8
	</form>	
8
    </form>
9
	</div>
9
    </div>
10
10
11
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
12
13
    [% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
14
15
	<ul id="btn-space">
15
    <ul id="btn-space">
16
        <li><a title="Search contracts" class="iconsearch" href="#contract_description_search"><i class="fa fa-pencil-square-o"></i></a></li>
16
        <li><a title="Search contracts" class="iconsearch" href="#contract_description_search"><i class="fa fa-pencil-square-o"></i></a></li>
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
Lines 20-25 Link Here
20
        <span class="name-icon active">Search contracts</span>
20
        <span class="name-icon active">Search contracts</span>
21
        <span class="name-icon">Check out</span>
21
        <span class="name-icon">Check out</span>
22
        <span class="name-icon">Search the catalog</span>
22
        <span class="name-icon">Search the catalog</span>
23
	</ul>
23
    </ul>
24
</div>
24
</div>
25
<!-- End Patrons Admin Resident Search Box -->
25
<!-- End Patrons Admin Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc (-2 / +2 lines)
Lines 12-18 Link Here
12
12
13
        [% INCLUDE 'catalogue-search-box.inc' %]
13
        [% INCLUDE 'catalogue-search-box.inc' %]
14
14
15
	<ul id="btn-space">
15
    <ul id="btn-space">
16
                <li><a title="Search notices" class="iconsearch" href="#notices_search"><i class="fa fa-commenting-o"></i></a></li>
16
                <li><a title="Search notices" class="iconsearch" href="#notices_search"><i class="fa fa-commenting-o"></i></a></li>
17
                [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
17
                [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
                [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
18
                [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
Lines 20-25 Link Here
20
                <span class="name-icon active" >Search notices</span>
20
                <span class="name-icon active" >Search notices</span>
21
                <span class="name-icon">Check out</span>
21
                <span class="name-icon">Check out</span>
22
                <span class="name-icon">Search the catalog</span>
22
                <span class="name-icon">Search the catalog</span>
23
	</ul>
23
    </ul>
24
</div>
24
</div>
25
<!-- End Notices Resident Search Box -->
25
<!-- End Notices Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc (-5 / +5 lines)
Lines 1-18 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="header_search">
2
<div id="header_search">
3
3
4
	<div id="patron_category_search" class="residentsearch">
4
    <div id="patron_category_search" class="residentsearch">
5
        <form action="[% script_name | html %]" method="post">
5
        <form action="[% script_name | html %]" method="post">
6
            <input class="head-searchbox" type="text" name="description" value="[% searchfield | html %]" placeholder="Search by patron category name" />
6
            <input class="head-searchbox" type="text" name="description" value="[% searchfield | html %]" placeholder="Search by patron category name" />
7
            <input type="submit" class="submit" id="submit" name="search" value="" />
7
            <input type="submit" class="submit" id="submit" name="search" value="" />
8
        </form>
8
        </form>
9
	</div>
9
    </div>
10
10
11
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
12
13
	[% INCLUDE 'catalogue-search-box.inc' %]
13
    [% INCLUDE 'catalogue-search-box.inc' %]
14
14
15
	<ul id="btn-space">
15
    <ul id="btn-space">
16
        <li><a title="Search patron categories" class="iconsearch" href="#patron_category_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>
16
        <li><a title="Search patron categories" class="iconsearch" href="#patron_category_search"><i class="fa fa-fw fa-id-card-o"></i></a></li>
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
17
        [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]<li><a title="Check out" class="iconsearch" href="#circ_search"><i class="fa fa-upload"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
18
        [% IF ( CAN_user_catalogue ) %]<li><a title="Search catalog" class="iconsearch" href="#catalog_search"><i class="fa fa-fw fa-search"></i></a></li>[% END %]
Lines 20-25 Link Here
20
        <span class="name-icon active">Search patron categories</span>
20
        <span class="name-icon active">Search patron categories</span>
21
        <span class="name-icon">Check out</span>
21
        <span class="name-icon">Check out</span>
22
        <span class="name-icon">Search the catalog</span>
22
        <span class="name-icon">Search the catalog</span>
23
	</ul>
23
    </ul>
24
</div>
24
</div>
25
<!-- End Patrons Admin Resident Search Box -->
25
<!-- End Patrons Admin Resident Search Box -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc (-2 / +2 lines)
Lines 2-12 Link Here
2
<div id="header_search">
2
<div id="header_search">
3
3
4
    <div id="z3950_search" class="residentsearch">
4
    <div id="z3950_search" class="residentsearch">
5
	    <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
5
        <form action="/cgi-bin/koha/admin/z3950servers.pl" method="post">
6
                <input class="head-searchbox" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
6
                <input class="head-searchbox" type="text" name="searchfield" id="searchfield" value="[% searchfield | html %]" placeholder="Z39.50/SRU server search" />
7
                <input type="submit" class="submit" id="submit" name="search" value="" />
7
                <input type="submit" class="submit" id="submit" name="search" value="" />
8
        </form>
8
        </form>
9
	</div>
9
    </div>
10
10
11
    [% INCLUDE 'patron-search-box.inc' %]
11
    [% INCLUDE 'patron-search-box.inc' %]
12
12
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcels.tt (-6 / +6 lines)
Lines 153-166 Link Here
153
            <input type="hidden" name="op" value="new" />
153
            <input type="hidden" name="op" value="new" />
154
            <input type="text" size="20" id="invoice" name="invoice" class="focus required" required="required" />
154
            <input type="text" size="20" id="invoice" name="invoice" class="focus required" required="required" />
155
        </li>
155
        </li>
156
		[% IF ( gst ) %]
156
        [% IF ( gst ) %]
157
        <li>
157
        <li>
158
            <label for="gst">GST:</label>
158
            <label for="gst">GST:</label>
159
            <input type="text" size="20" id="gst" name="gst" />
159
            <input type="text" size="20" id="gst" name="gst" />
160
        </li>
160
        </li>
161
		[% END %]
161
        [% END %]
162
      <!--  // Removing freight input until shipping can be proplerly handled .
162
      <!--  // Removing freight input until shipping can be proplerly handled .
163
	  <li>
163
      <li>
164
            <label for="freight">Shipping:</label>
164
            <label for="freight">Shipping:</label>
165
            <input type="text" size="20" id="freight" name="freight" />
165
            <input type="text" size="20" id="freight" name="freight" />
166
        </li> -->
166
        </li> -->
Lines 189-195 Link Here
189
            <input type="checkbox" id="showallfunds" />
189
            <input type="checkbox" id="showallfunds" />
190
190
191
        </li>
191
        </li>
192
		</ol>
192
        </ol>
193
<input type="submit" class="button principal" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
193
<input type="submit" class="button principal" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid | html %]">Cancel</a></fieldset>
194
        </form>
194
        </form>
195
    </div>
195
    </div>
Lines 201-207 Link Here
201
    <aside>
201
    <aside>
202
    <form method="get" action="parcels.pl">
202
    <form method="get" action="parcels.pl">
203
    <fieldset class="sidebar">
203
    <fieldset class="sidebar">
204
	<h3>Filter</h3>
204
    <h3>Filter</h3>
205
        <ol>
205
        <ol>
206
            <li> <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" /></li>
206
            <li> <input type="hidden" name="booksellerid" value="[% booksellerid | html %]" /></li>
207
            <li><label for="filter">Invoice number:</label><input type="text" size="20" name="filter" value="[% filter | html %]" id="filter" /></li>
207
            <li><label for="filter">Invoice number:</label><input type="text" size="20" name="filter" value="[% filter | html %]" id="filter" /></li>
Lines 229-235 Link Here
229
                </select></li>
229
                </select></li>
230
        </ol>
230
        </ol>
231
    <fieldset class="action"><input type="submit" class="button principal" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | uri %]">Clear</a></fieldset>
231
    <fieldset class="action"><input type="submit" class="button principal" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid | uri %]">Clear</a></fieldset>
232
	</fieldset>
232
    </fieldset>
233
</form>
233
</form>
234
</aside>
234
</aside>
235
</div>  <!-- /.col-sm-2.col-sm-pull-10 -->
235
</div>  <!-- /.col-sm-2.col-sm-pull-10 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/ISBDdetail.tt (-3 / +3 lines)
Lines 53-59 Link Here
53
        <div class="col-sm-10 col-sm-push-2">
53
        <div class="col-sm-10 col-sm-push-2">
54
            <main>
54
            <main>
55
55
56
	[% INCLUDE 'cat-toolbar.inc' %]
56
    [% INCLUDE 'cat-toolbar.inc' %]
57
                <h2>
57
                <h2>
58
                    [% IF ( unknownbiblionumber ) %]
58
                    [% IF ( unknownbiblionumber ) %]
59
                        Unknown record
59
                        Unknown record
Lines 70-78 Link Here
70
    <!-- COinS / OpenURL -->
70
    <!-- COinS / OpenURL -->
71
    <span class="Z3988" title="[% ocoins | html %]"></span>
71
    <span class="Z3988" title="[% ocoins | html %]"></span>
72
    [% END %]
72
    [% END %]
73
	  <div id="catalogue_ISBDdetail">
73
      <div id="catalogue_ISBDdetail">
74
          [% ISBD | $raw %]
74
          [% ISBD | $raw %]
75
	  </div>
75
      </div>
76
[% END %]
76
[% END %]
77
77
78
            </main>
78
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/labeledMARCdetail.tt (-13 / +13 lines)
Lines 15-25 Link Here
15
  [% END %] &rsaquo; Catalog &rsaquo; Koha
15
  [% END %] &rsaquo; Catalog &rsaquo; Koha
16
</title>
16
</title>
17
17
18
	[% INCLUDE 'doc-head-close.inc' %]
18
    [% INCLUDE 'doc-head-close.inc' %]
19
</head>
19
</head>
20
20
21
<body id="catlaog_labeledMARCdetail" class="catalog">
21
<body id="catlaog_labeledMARCdetail" class="catalog">
22
	[% INCLUDE 'header.inc' form=formulaire %]
22
    [% INCLUDE 'header.inc' form=formulaire %]
23
23
24
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
24
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
25
        <ol>
25
        <ol>
Lines 73-89 Link Here
73
                        [% END %]
73
                        [% END %]
74
                    </select>
74
                    </select>
75
                    </strong></p>
75
                    </strong></p>
76
					<!-- div id="bibliotabs" class="toptabs numbered" -->
76
                    <!-- div id="bibliotabs" class="toptabs numbered" -->
77
					<div>
77
                    <div>
78
						<table class="labeledmarc-table">
78
                        <table class="labeledmarc-table">
79
							[% FOREACH marc_dat IN marc_data %]
79
                            [% FOREACH marc_dat IN marc_data %]
80
								<tr>
80
                                <tr>
81
									<td class="labeledmarc-label">[% marc_dat.label | html %]</td>
81
                                    <td class="labeledmarc-label">[% marc_dat.label | html %]</td>
82
									<td class="labeledmarc-value">[% marc_dat.value | html %]</td>
82
                                    <td class="labeledmarc-value">[% marc_dat.value | html %]</td>
83
								</tr>
83
                                </tr>
84
							[% END %]
84
                            [% END %]
85
						</table>
85
                        </table>
86
					</div>
86
                    </div>
87
            </main>
87
            </main>
88
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
88
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
89
89
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tt (-22 / +22 lines)
Lines 6-33 Link Here
6
<h2>Search</h2>
6
<h2>Search</h2>
7
7
8
<form name="f" method="post">
8
<form name="f" method="post">
9
	<input type="hidden" name="op" value="do_search" />
9
    <input type="hidden" name="op" value="do_search" />
10
	<input type="hidden" name="type" value="intranet" />
10
    <input type="hidden" name="type" value="intranet" />
11
	<div class="details">
11
    <div class="details">
12
		<h3>Search on</h3>
12
        <h3>Search on</h3>
13
		<p>
13
        <p>
14
			<label for="category">Name or ISSN: </label>
14
            <label for="category">Name or ISSN: </label>
15
			[% category | html %]
15
            [% category | html %]
16
		</p>
16
        </p>
17
		<p>
17
        <p>
18
			<label for="index">Search value: </label>
18
            <label for="index">Search value: </label>
19
			<input type="text" name="value" value="[% value | html %]" />
19
            <input type="text" name="value" value="[% value | html %]" />
20
			<input type="hidden" name="authtypecode" value="[% category | html %]" />
20
            <input type="hidden" name="authtypecode" value="[% category | html %]" />
21
			<input type="hidden" name="marclist" value="" />
21
            <input type="hidden" name="marclist" value="" />
22
			<input type="hidden" name="and_or" value="and" />
22
            <input type="hidden" name="and_or" value="and" />
23
			<input type="hidden" name="excluding" value="" />
23
            <input type="hidden" name="excluding" value="" />
24
			<input type="hidden" name="operator" value="contains" />
24
            <input type="hidden" name="operator" value="contains" />
25
			<input type="hidden" id="index" name="index" value="[% index | html %]" />
25
            <input type="hidden" id="index" name="index" value="[% index | html %]" />
26
		</p>
26
        </p>
27
		<p>
27
        <p>
28
			<input type="submit" value="Start search" class="submit principal" />
28
            <input type="submit" value="Start search" class="submit principal" />
29
		</p>
29
        </p>
30
	</div>
30
    </div>
31
</form>
31
</form>
32
</div>
32
</div>
33
33
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt (-7 / +7 lines)
Lines 65-71 Link Here
65
                                            </li>
65
                                            </li>
66
                                            <li>
66
                                            <li>
67
                                                [% IF ( profile_id ) %]
67
                                                [% IF ( profile_id ) %]
68
												<span class="label">Paper bin:</span> [% paper_bin | html %]
68
                                                <span class="label">Paper bin:</span> [% paper_bin | html %]
69
                                                <input type="hidden" name="paper_bin" value="[% paper_bin | html %]" />
69
                                                <input type="hidden" name="paper_bin" value="[% paper_bin | html %]" />
70
                                                [% ELSE %]
70
                                                [% ELSE %]
71
                                                <label for="paper_bin">Paper bin:</label><input type="text"  size="20" name="paper_bin" id="paper_bin" />
71
                                                <label for="paper_bin">Paper bin:</label><input type="text"  size="20" name="paper_bin" id="paper_bin" />
Lines 104-113 Link Here
104
                                                </select>
104
                                                </select>
105
                                            </li>
105
                                            </li>
106
                                         </ol>
106
                                         </ol>
107
										</fieldset>
107
                                        </fieldset>
108
108
109
										<fieldset class="rows"><h3>Offset:</h3>
109
                                        <fieldset class="rows"><h3>Offset:</h3>
110
										<ol>
110
                                        <ol>
111
                                            <li>
111
                                            <li>
112
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
112
                                                <label for="offset_horz">Horizontal: </label><input type="text"  size="4" name="offset_horz" id="offset_horz" value="[% offset_horz | html %]" />
113
                                            </li>
113
                                            </li>
Lines 115-124 Link Here
115
                                                <label for="offset_vert">Vertical: </label><input type="text" size="4" name="offset_vert" id="offset_vert" value="[% offset_vert | html %]" />
115
                                                <label for="offset_vert">Vertical: </label><input type="text" size="4" name="offset_vert" id="offset_vert" value="[% offset_vert | html %]" />
116
                                            </li>
116
                                            </li>
117
                                         </ol>
117
                                         </ol>
118
										</fieldset>
118
                                        </fieldset>
119
119
120
										<fieldset class="rows"><h3>Creep:</h3>
120
                                        <fieldset class="rows"><h3>Creep:</h3>
121
										<ol>
121
                                        <ol>
122
                                            <li>
122
                                            <li>
123
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
123
                                                <label for="creep_horz">Horizontal: </label><input type="text"  size="4" name="creep_horz" id="creep_horz" value="[% creep_horz | html %]" />
124
                                            </li>
124
                                            </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt (-8 / +8 lines)
Lines 34-49 Link Here
34
            <main>
34
            <main>
35
35
36
                <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
36
                <form action="/cgi-bin/koha/labels/spinelabel-print.pl" method="post" id="spinelabelprint">
37
				<fieldset class="brief">
37
                <fieldset class="brief">
38
<h3>Quick spine label creator</h3>
38
<h3>Quick spine label creator</h3>
39
				<ol>
39
                <ol>
40
					<li><label for="barcode">Barcode: </label>
40
                    <li><label for="barcode">Barcode: </label>
41
                        <input type="text" name="barcode" id="barcode" class="focus" required="required" />
41
                        <input type="text" name="barcode" id="barcode" class="focus" required="required" />
42
					</li>
42
                    </li>
43
				</ol>
43
                </ol>
44
				<fieldset class="action"><input class="principal" type="submit" value="View spine label" /></fieldset>
44
                <fieldset class="action"><input class="principal" type="submit" value="View spine label" /></fieldset>
45
				</fieldset>
45
                </fieldset>
46
				</form>
46
                </form>
47
47
48
            </main>
48
            </main>
49
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
49
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt (-118 / +118 lines)
Lines 45-51 Link Here
45
45
46
<h2>Acquisitions statistics </h2>
46
<h2>Acquisitions statistics </h2>
47
[% IF ( do_it ) %]
47
[% IF ( do_it ) %]
48
	[% FOREACH mainloo IN mainloop %]
48
    [% FOREACH mainloo IN mainloop %]
49
        [% IF ( mainloo.loopfilter.size ) %]
49
        [% IF ( mainloo.loopfilter.size ) %]
50
            <p><strong>Filtered on:</strong></p>
50
            <p><strong>Filtered on:</strong></p>
51
            [% FOREACH loopfilte IN mainloo.loopfilter %]
51
            [% FOREACH loopfilte IN mainloo.loopfilter %]
Lines 66-173 Link Here
66
                    [% END %]
66
                    [% END %]
67
                    : [% loopfilte.filter | html %]
67
                    : [% loopfilte.filter | html %]
68
                </p>
68
                </p>
69
			[% END %]
69
            [% END %]
70
		[% END %]
70
        [% END %]
71
71
72
		<table>
72
        <table>
73
			<tr >
73
            <tr >
74
				<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
74
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
75
				[% FOREACH loopco IN mainloo.loopcol %]
75
                [% FOREACH loopco IN mainloo.loopcol %]
76
					<th>[% loopco.coltitle | html %]</th>
76
                    <th>[% loopco.coltitle | html %]</th>
77
				[% END %]
77
                [% END %]
78
				<th>TOTAL</th>
78
                <th>TOTAL</th>
79
			</tr>
79
            </tr>
80
				[% FOREACH loopro IN mainloo.looprow %]
80
                [% FOREACH loopro IN mainloo.looprow %]
81
					<tr>
81
                    <tr>
82
						[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
82
                        [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
83
						[% loopro.rowtitle | html %]</td>
83
                        [% loopro.rowtitle | html %]</td>
84
						[% FOREACH loopcel IN loopro.loopcell %]
84
                        [% FOREACH loopcel IN loopro.loopcell %]
85
							[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
85
                            [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
86
								[% IF ( loopcel.value ) %][% loopcel.value | html %]
86
                                [% IF ( loopcel.value ) %][% loopcel.value | html %]
87
								[% ELSE %] &nbsp;
87
                                [% ELSE %] &nbsp;
88
								[% END %]
88
                                [% END %]
89
							</td>
89
                            </td>
90
						[% END %]
90
                        [% END %]
91
						[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
91
                        [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
92
							[% loopro.totalrow | html %]
92
                            [% loopro.totalrow | html %]
93
						</td>
93
                        </td>
94
					</tr>
94
                    </tr>
95
				[% END %]
95
                [% END %]
96
				<tr >
96
                <tr >
97
					<th>TOTAL</th>
97
                    <th>TOTAL</th>
98
					[% FOREACH loopfoote IN mainloo.loopfooter %]
98
                    [% FOREACH loopfoote IN mainloo.loopfooter %]
99
						<th>
99
                        <th>
100
							[% loopfoote.totalcol | html %]
100
                            [% loopfoote.totalcol | html %]
101
						</th>
101
                        </th>
102
					[% END %]
102
                    [% END %]
103
					<th>[% mainloo.total | html %]</th>
103
                    <th>[% mainloo.total | html %]</th>
104
				</tr>
104
                </tr>
105
		</table>
105
        </table>
106
	[% END %]
106
    [% END %]
107
[% ELSE %]
107
[% ELSE %]
108
	<form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
108
    <form method="post" action="/cgi-bin/koha/reports/acquisitions_stats.pl">
109
	<fieldset class="rows">
109
    <fieldset class="rows">
110
	<h3>Acquisitions statistics</h3>
110
    <h3>Acquisitions statistics</h3>
111
	<table>
111
    <table>
112
		<thead>
112
        <thead>
113
			<tr>
113
            <tr>
114
			<th>Title</th>
114
            <th>Title</th>
115
			<th>Row</th>
115
            <th>Row</th>
116
			<th>Column</th>
116
            <th>Column</th>
117
			<th>Filter</th>
117
            <th>Filter</th>
118
			</tr>
118
            </tr>
119
		</thead>
119
        </thead>
120
		<tbody>
120
        <tbody>
121
			<tr class="hilighted">
121
            <tr class="hilighted">
122
                <td>Placed on</td>
122
                <td>Placed on</td>
123
				<td><input type="radio" name="Line" value="aqbasket.closedate" /></td>
123
                <td><input type="radio" name="Line" value="aqbasket.closedate" /></td>
124
				<td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td>
124
                <td><input type="radio" checked="checked" name="Column" value="aqbasket.closedate" /> </td>
125
                <td>
125
                <td>
126
                    From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-date_to="placedonto" />
126
                    From <input type="text" size="10" id="placedonfrom" name="Filter" value="" class="flatpickr" data-date_to="placedonto" />
127
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
127
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
128
                    To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" />
128
                    To <input size="10" id="placedonto" name="Filter" type="text" value="" class="flatpickr" />
129
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
129
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
130
                </td>
130
                </td>
131
			</tr>
131
            </tr>
132
			<tr class="hilighted">
132
            <tr class="hilighted">
133
				<td>&nbsp;</td>
133
                <td>&nbsp;</td>
134
				<td colspan="2">group by <select name="PlacedOnDisplay">
134
                <td colspan="2">group by <select name="PlacedOnDisplay">
135
					<option value="">None</option>
135
                    <option value="">None</option>
136
					<option value ="1">Day of week</option>
136
                    <option value ="1">Day of week</option>
137
					<option value ="2">Month</option>
137
                    <option value ="2">Month</option>
138
					<option value ="3">Year</option>
138
                    <option value ="3">Year</option>
139
					</select>
139
                    </select>
140
140
141
				</td>
141
                </td>
142
				<td>&nbsp;</td>
142
                <td>&nbsp;</td>
143
			</tr>
143
            </tr>
144
			<tr>
144
            <tr>
145
                <td>Received on</td>
145
                <td>Received on</td>
146
				<td><input type="radio" name="Line" value="aqorders.datereceived" /></td>
146
                <td><input type="radio" name="Line" value="aqorders.datereceived" /></td>
147
				<td><input type="radio" name="Column" value="aqorders.datereceived" /></td>
147
                <td><input type="radio" name="Column" value="aqorders.datereceived" /></td>
148
                <td>
148
                <td>
149
                    From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-date_to="receivedonto" />
149
                    From <input type="text" size="10" id="receivedonfrom" name="Filter" value="" class="flatpickr" data-date_to="receivedonto" />
150
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
150
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
151
                    To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" />
151
                    To <input type="text" size="10" id="receivedonto" name="Filter" value="" class="flatpickr" />
152
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
152
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
153
                </td>
153
                </td>
154
			</tr>
154
            </tr>
155
			<tr>
155
            <tr>
156
				<td>&nbsp;</td>
156
                <td>&nbsp;</td>
157
				<td colspan="2">group by <select name="ReceivedOnDisplay">
157
                <td colspan="2">group by <select name="ReceivedOnDisplay">
158
					<option value="">None</option>
158
                    <option value="">None</option>
159
					<option value ="1">Day of week</option>
159
                    <option value ="1">Day of week</option>
160
					<option value ="2">Month</option>
160
                    <option value ="2">Month</option>
161
					<option value ="3">Year</option>
161
                    <option value ="3">Year</option>
162
					</select>
162
                    </select>
163
163
164
				</td>
164
                </td>
165
				<td>&nbsp;</td>
165
                <td>&nbsp;</td>
166
			</tr>
166
            </tr>
167
			<tr class="hilighted">
167
            <tr class="hilighted">
168
				<td>Vendor</td>
168
                <td>Vendor</td>
169
				<td><input type="radio" checked="checked" name="Line" value="aqbooksellers.name" /></td>
169
                <td><input type="radio" checked="checked" name="Line" value="aqbooksellers.name" /></td>
170
				<td><input type="radio" name="Column" value="aqbooksellers.name" /></td>
170
                <td><input type="radio" name="Column" value="aqbooksellers.name" /></td>
171
                <td>
171
                <td>
172
                    <select name="Filter">
172
                    <select name="Filter">
173
                        <option value="">All vendors</option>
173
                        <option value="">All vendors</option>
Lines 213-222 Link Here
213
                    [% END %]
213
                    [% END %]
214
                </td>
214
                </td>
215
            </tr>
215
            </tr>
216
			<tr>
216
            <tr>
217
                <td>Item type</td>
217
                <td>Item type</td>
218
				<td><input type="radio" name="Line" value="biblioitems.itemtype" /></td>
218
                <td><input type="radio" name="Line" value="biblioitems.itemtype" /></td>
219
				<td><input type="radio" name="Column" value="biblioitems.itemtype" /></td>
219
                <td><input type="radio" name="Column" value="biblioitems.itemtype" /></td>
220
                <td>
220
                <td>
221
                    <select name="Filter" id="itemtypes">
221
                    <select name="Filter" id="itemtypes">
222
                        <option value="">All item types</option>
222
                        <option value="">All item types</option>
Lines 225-236 Link Here
225
                        [% END %]
225
                        [% END %]
226
                    </select>
226
                    </select>
227
                </td>
227
                </td>
228
			</tr>
228
            </tr>
229
229
230
			<tr>
230
            <tr>
231
				<td>Fund</td>
231
                <td>Fund</td>
232
				<td><input type="radio" name="Line" value="aqbudgets.budget_code" /></td>
232
                <td><input type="radio" name="Line" value="aqbudgets.budget_code" /></td>
233
				<td><input type="radio" name="Column" value="aqbudgets.budget_code" /></td>
233
                <td><input type="radio" name="Column" value="aqbudgets.budget_code" /></td>
234
                <td>
234
                <td>
235
                    <select name="Filter" id="budget">
235
                    <select name="Filter" id="budget">
236
                        <option value="">All funds</option>
236
                        <option value="">All funds</option>
Lines 239-251 Link Here
239
                        [% END %]
239
                        [% END %]
240
                    </select>
240
                    </select>
241
                </td>
241
                </td>
242
			</tr>
242
            </tr>
243
243
244
			[% IF ( hassort1 ) %]
244
            [% IF ( hassort1 ) %]
245
				<tr class="hilighted">
245
                <tr class="hilighted">
246
					<td>Sort1</td>
246
                    <td>Sort1</td>
247
					<td><input type="radio" name="Line" value="aqorders.sort1" /></td>
247
                    <td><input type="radio" name="Line" value="aqorders.sort1" /></td>
248
					<td><input type="radio" name="Column" value="aqorders.sort1" /></td>
248
                    <td><input type="radio" name="Column" value="aqorders.sort1" /></td>
249
                    <td>
249
                    <td>
250
                        <select name="Filter" id="sort1">
250
                        <select name="Filter" id="sort1">
251
                            <option value="">All</option>
251
                            <option value="">All</option>
Lines 254-266 Link Here
254
                            [% END %]
254
                            [% END %]
255
                        </select>
255
                        </select>
256
                    </td>
256
                    </td>
257
				</tr>
257
                </tr>
258
			[% END %]
258
            [% END %]
259
			[% IF ( hassort2 ) %]
259
            [% IF ( hassort2 ) %]
260
				[% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %]
260
                [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %]
261
					<td>Sort2</td>
261
                    <td>Sort2</td>
262
					<td><input type="radio" name="Line" value="aqorders.sort2" /></td>
262
                    <td><input type="radio" name="Line" value="aqorders.sort2" /></td>
263
					<td><input type="radio" name="Column" value="aqorders.sort2" /></td>
263
                    <td><input type="radio" name="Column" value="aqorders.sort2" /></td>
264
                    <td>
264
                    <td>
265
                        <select name="Filter" id="sort2">
265
                        <select name="Filter" id="sort2">
266
                            <option value="">All</option>
266
                            <option value="">All</option>
Lines 269-279 Link Here
269
                            [% END %]
269
                            [% END %]
270
                        </select>
270
                        </select>
271
                    </td>
271
                    </td>
272
				</tr>
272
                </tr>
273
			[% END %]
273
            [% END %]
274
		</tbody>
274
        </tbody>
275
	</table><br />
275
    </table><br />
276
	</fieldset>
276
    </fieldset>
277
277
278
<fieldset class="rows">
278
<fieldset class="rows">
279
    <h3> Cell value </h3>
279
    <h3> Cell value </h3>
Lines 296-303 Link Here
296
    </ol>
296
    </ol>
297
</fieldset>
297
</fieldset>
298
298
299
	<fieldset class="rows">
299
    <fieldset class="rows">
300
	<h3>Output</h3>
300
    <h3>Output</h3>
301
    <ol>
301
    <ol>
302
        <li>
302
        <li>
303
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
303
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 321-331 Link Here
321
        </li>
321
        </li>
322
    </ol>
322
    </ol>
323
323
324
	<input type="submit" class="principal" value="Submit" />
324
    <input type="submit" class="principal" value="Submit" />
325
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
325
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
326
	<input type="hidden" name="do_it" value="1" />
326
    <input type="hidden" name="do_it" value="1" />
327
	</fieldset>
327
    </fieldset>
328
	</form>
328
    </form>
329
[% END %]
329
[% END %]
330
330
331
            </main>
331
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tt (-89 / +89 lines)
Lines 48-55 Link Here
48
48
49
[% IF ( do_it ) %]
49
[% IF ( do_it ) %]
50
    <h2>Patrons with the most checkouts</h2>
50
    <h2>Patrons with the most checkouts</h2>
51
	[% FOREACH mainloo IN mainloop %]
51
    [% FOREACH mainloo IN mainloop %]
52
		[% IF ( mainloo.loopfilter ) %]
52
        [% IF ( mainloo.loopfilter ) %]
53
            [% IF mainloo.loopfilter.size %]
53
            [% IF mainloo.loopfilter.size %]
54
                <p>Filtered on:</p>
54
                <p>Filtered on:</p>
55
                <ul>
55
                <ul>
Lines 83-125 Link Here
83
                    [% END %]
83
                    [% END %]
84
                </ul>
84
                </ul>
85
            [% END %]
85
            [% END %]
86
		[% END %]
86
        [% END %]
87
		
87
88
		<table>
88
        <table>
89
			<tr>
89
            <tr>
90
				<th rowspan="2">Rank</th>
90
                <th rowspan="2">Rank</th>
91
				[% FOREACH loopco IN mainloo.loopcol %]
91
                [% FOREACH loopco IN mainloo.loopcol %]
92
					<th colspan="2">[% loopco.coltitle | html %]</th>
92
                    <th colspan="2">[% loopco.coltitle | html %]</th>
93
				[% END %]
93
                [% END %]
94
			</tr>
94
            </tr>
95
			<tr>
95
            <tr>
96
				[% FOREACH loopco IN mainloo.loopcol %]
96
                [% FOREACH loopco IN mainloo.loopcol %]
97
					<th>Patron</th>
97
                    <th>Patron</th>
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
					[% FOREACH loopcel IN loopro.loopcell %]
105
                    [% FOREACH loopcel IN loopro.loopcell %]
106
						[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
106
                        [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
107
                            [% IF ( loopcel.reference ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopcel.reference | uri %]">[% END %]
107
                            [% IF ( loopcel.reference ) %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% loopcel.reference | uri %]">[% END %]
108
							[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
108
                            [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
109
							[% IF ( loopcel.reference ) %]</a>[% END %]
109
                            [% IF ( loopcel.reference ) %]</a>[% END %]
110
						</td>
110
                        </td>
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
	[% END %]
118
    [% END %]
119
[% ELSE %]
119
[% ELSE %]
120
    <h2>Patrons with the most checkouts</h2>
120
    <h2>Patrons with the most checkouts</h2>
121
	<form method="post" action="/cgi-bin/koha/reports/bor_issues_top.pl">
121
    <form method="post" action="/cgi-bin/koha/reports/bor_issues_top.pl">
122
	<fieldset class="rows">
122
    <fieldset class="rows">
123
        <ol>
123
        <ol>
124
            <li>
124
            <li>
125
                <label for="checkoutfrom">Checkout date from:</label>
125
                <label for="checkoutfrom">Checkout date from:</label>
Lines 137-204 Link Here
137
                <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
137
                <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
138
                <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
138
                <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
139
            </li>
139
            </li>
140
			<li> 
140
            <li>
141
				<label for="branch">Library: </label>
141
                <label for="branch">Library: </label>
142
<select name="Filter" id="branch"><option value="" > Any library</option>
142
<select name="Filter" id="branch"><option value="" > Any library</option>
143
    [% FOREACH l IN Branches.all( unfiltered => 1 ) %]
143
    [% FOREACH l IN Branches.all( unfiltered => 1 ) %]
144
        <option value="[% l.branchcode | html %]" >[% l.branchname | html %] </option>
144
        <option value="[% l.branchcode | html %]" >[% l.branchname | html %] </option>
145
     [% END %] 
145
     [% END %]
146
    </select>			</li>
146
    </select>			</li>
147
			<li> 
147
            <li>
148
                <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
148
                <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
149
    [% FOREACH itemtype IN itemtypes %]
149
    [% FOREACH itemtype IN itemtypes %]
150
        <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
150
        <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
151
     [% END %] 
151
     [% END %]
152
    </select>
152
    </select>
153
			</li>
153
            </li>
154
			<li> 
154
            <li>
155
                <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option>
155
                <label for="patroncategory">Patron category: </label><select name="Filter" id="patroncategory"><option value="" > Any category code</option>
156
    [% FOREACH patron_category IN patron_categories%]
156
    [% FOREACH patron_category IN patron_categories%]
157
        <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
157
        <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
158
     [% END %]
158
     [% END %]
159
    </select>
159
    </select>
160
			</li>
160
            </li>
161
		</ol>
161
        </ol>
162
	</fieldset>
162
    </fieldset>
163
	
163
164
	<fieldset class="rows">
164
    <fieldset class="rows">
165
	<ol>
165
    <ol>
166
		<li><label for="numlimit">Limit to: </label> <select name="Limit" id="numlimit">
166
        <li><label for="numlimit">Limit to: </label> <select name="Limit" id="numlimit">
167
						<option value ="5" selected="selected"> 5</option>
167
                        <option value ="5" selected="selected"> 5</option>
168
						<option value ="10">10</option>
168
                        <option value ="10">10</option>
169
						<option value ="15">15</option>
169
                        <option value ="15">15</option>
170
						<option value ="20">20</option>
170
                        <option value ="20">20</option>
171
                        <option value ="">No limit</option>
171
                        <option value ="">No limit</option>
172
	<!--					<option value ="25">25</option>
172
    <!--					<option value ="25">25</option>
173
						<option value ="40">40</option>
173
                        <option value ="40">40</option>
174
						<option value ="50">50</option>
174
                        <option value ="50">50</option>
175
						<option value ="100">100</option>-->
175
                        <option value ="100">100</option>-->
176
					</select></li>
176
                    </select></li>
177
		<li><label for="criteria">By: </label> <select name="Criteria" id="criteria">
177
        <li><label for="criteria">By: </label> <select name="Criteria" id="criteria">
178
						<option value ="" selected="selected">None</option>
178
                        <option value ="" selected="selected">None</option>
179
						<option value ="branchcode">Library</option>
179
                        <option value ="branchcode">Library</option>
180
                        <option value ="categorycode">Category code</option>
180
                        <option value ="categorycode">Category code</option>
181
                        <option value ="itemtype">Item type</option>
181
                        <option value ="itemtype">Item type</option>
182
						<option value ="Day">Day</option>
182
                        <option value ="Day">Day</option>
183
						<option value ="Week">Week</option>
183
                        <option value ="Week">Week</option>
184
						<option value ="Month">Month</option>
184
                        <option value ="Month">Month</option>
185
						<option value ="Year">Year</option>
185
                        <option value ="Year">Year</option>
186
					</select></li>
186
                    </select></li>
187
	</ol>
187
    </ol>
188
	</fieldset>
188
    </fieldset>
189
189
190
<fieldset class="rows">
190
<fieldset class="rows">
191
	<h3>Output</h3>
191
    <h3>Output</h3>
192
	<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
192
    <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
193
		<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
193
        <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
194
			<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
194
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
195
			<label class="inline" for="MIME">Into an application: </label>
195
            <label class="inline" for="MIME">Into an application: </label>
196
			<select name="MIME" id="MIME">
196
            <select name="MIME" id="MIME">
197
			[% FOREACH mimeloo IN mimeloop %]
197
            [% FOREACH mimeloo IN mimeloop %]
198
				<option value="[% mimeloo.type | html %]">[% mimeloo.type | html %]</option>
198
                <option value="[% mimeloo.type | html %]">[% mimeloo.type | html %]</option>
199
			[% END %]
199
            [% END %]
200
			</select>
200
            </select>
201
			<label class="inline" for="sep">Delimiter: </label>
201
            <label class="inline" for="sep">Delimiter: </label>
202
            <select name="sep" id="sep">
202
            <select name="sep" id="sep">
203
            [% FOREACH value IN CGIseplist.values.sort() %]
203
            [% FOREACH value IN CGIseplist.values.sort() %]
204
              [% IF ( value == CGIseplist.default ) %]
204
              [% IF ( value == CGIseplist.default ) %]
Lines 208-223 Link Here
208
              [% END %]
208
              [% END %]
209
            [% END %]
209
            [% END %]
210
            </select>
210
            </select>
211
		</li>
211
        </li>
212
	</ol>
212
    </ol>
213
	</fieldset>
213
    </fieldset>
214
214
215
	<fieldset class="action">
215
    <fieldset class="action">
216
	<input type="submit" class="principal" value="Submit" />
216
    <input type="submit" class="principal" value="Submit" />
217
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
217
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
218
	<input type="hidden" name="do_it" value="1" />
218
    <input type="hidden" name="do_it" value="1" />
219
	</fieldset>
219
    </fieldset>
220
	</form>
220
    </form>
221
[% END %]
221
[% END %]
222
222
223
            </main>
223
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tt (-20 / +20 lines)
Lines 41-47 Link Here
41
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
41
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
42
            [% END %]
42
            [% END %]
43
        [% END %]
43
        [% END %]
44
        
44
45
        <table>
45
        <table>
46
            <tr>
46
            <tr>
47
                <th>Num/Patrons</th>
47
                <th>Num/Patrons</th>
Lines 64-70 Link Here
64
    <h2>Patrons with no checkouts</h2>
64
    <h2>Patrons with no checkouts</h2>
65
    <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
65
    <form method="post" action="/cgi-bin/koha/reports/borrowers_out.pl">
66
    <fieldset class="rows">
66
    <fieldset class="rows">
67
		<ol>
67
        <ol>
68
            <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any category code</option>
68
            <li><label for="patroncategory">Patron category: </label> <select name="Filter" id="patroncategory"><option value="" > Any category code</option>
69
    [% FOREACH patron_category IN patron_categories %]
69
    [% FOREACH patron_category IN patron_categories %]
70
        <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
70
        <option value="[% patron_category.categorycode | html %]" >[% patron_category.description | html %] </option>
Lines 73-85 Link Here
73
</li>
73
</li>
74
    <li><label for="to">Not checked out since: </label> <input size="10" id="to" class="flatpickr" data-flatpickr-pastdate="true" name="Filter" value="" type="text" />
74
    <li><label for="to">Not checked out since: </label> <input size="10" id="to" class="flatpickr" data-flatpickr-pastdate="true" name="Filter" value="" type="text" />
75
</li>
75
</li>
76
		</ol>
76
        </ol>
77
	</fieldset>
77
    </fieldset>
78
	
78
79
    <fieldset class="rows">
79
    <fieldset class="rows">
80
	<h3>Limits</h3>
80
    <h3>Limits</h3>
81
		<ol>
81
        <ol>
82
			<li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit">
82
            <li><label for="numberlimit">Limit to: </label><select name="Limit" id="numberlimit">
83
                        <option value ="" selected="selected">None</option>
83
                        <option value ="" selected="selected">None</option>
84
                        <option value ="5"> 5</option>
84
                        <option value ="5"> 5</option>
85
                        <option value ="10">10</option>
85
                        <option value ="10">10</option>
Lines 90-105 Link Here
90
                        <option value ="50">50</option>
90
                        <option value ="50">50</option>
91
                        <option value ="100">100</option>
91
                        <option value ="100">100</option>
92
                    </select></li>
92
                    </select></li>
93
			<li><label for="criteria">By: </label><select name="Criteria" id="criteria">
93
            <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
94
                        <option value ="" selected="selected">None</option>
94
                        <option value ="" selected="selected">None</option>
95
                        <option value ="categorycode">Patron category</option>
95
                        <option value ="categorycode">Patron category</option>
96
                        <option value ="branchcode">Library</option>
96
                        <option value ="branchcode">Library</option>
97
                    </select></li>
97
                    </select></li>
98
		</ol>
98
        </ol>
99
	</fieldset>
99
    </fieldset>
100
	
100
101
<fieldset class="rows">
101
<fieldset class="rows">
102
	<h3>Output</h3>
102
    <h3>Output</h3>
103
    <ol>
103
    <ol>
104
        <li>
104
        <li>
105
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
105
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 124-137 Link Here
124
            </select>
124
            </select>
125
        </li>
125
        </li>
126
    </ol>
126
    </ol>
127
	</fieldset>
127
    </fieldset>
128
128
129
	<fieldset class="action">
129
    <fieldset class="action">
130
	<input type="submit" class="principal" value="Submit" />
130
    <input type="submit" class="principal" value="Submit" />
131
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
131
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
132
	<input type="hidden" name="do_it" value="1" />
132
    <input type="hidden" name="do_it" value="1" />
133
	</fieldset>
133
    </fieldset>
134
	</form>
134
    </form>
135
[% END %]
135
[% END %]
136
136
137
            </main>
137
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt (-135 / +135 lines)
Lines 10-17 Link Here
10
10
11
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
12
<style>
12
<style>
13
	.sql {display:none;}
13
    .sql {display:none;}
14
	.debug {display:none;}
14
    .debug {display:none;}
15
</style>
15
</style>
16
</head>
16
</head>
17
17
Lines 53-113 Link Here
53
53
54
<h2>Patrons statistics</h2>
54
<h2>Patrons statistics</h2>
55
[% IF ( do_it ) %]
55
[% IF ( do_it ) %]
56
	[% FOREACH mainloo IN mainloop %]
56
    [% FOREACH mainloo IN mainloop %]
57
        [% IF ( mainloo.loopfilter.size>0 ) %]
57
        [% IF ( mainloo.loopfilter.size>0 ) %]
58
            <p>Filtered on:</p>
58
            <p>Filtered on:</p>
59
			[% FOREACH loopfilte IN mainloo.loopfilter %]
59
            [% FOREACH loopfilte IN mainloo.loopfilter %]
60
				<p>
60
                <p>
61
					[% loopfilte.crit | html %] = [% loopfilte.filter | html %]
61
                    [% loopfilte.crit | html %] = [% loopfilte.filter | html %]
62
				</p>
62
                </p>
63
			[% END %]
63
            [% END %]
64
		[% END %]
64
        [% END %]
65
		<table>
65
        <table>
66
			<tr>
66
            <tr>
67
				<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
67
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
68
				[% FOREACH loopco IN mainloo.loopcol %]
68
                [% FOREACH loopco IN mainloo.loopcol %]
69
					<th>[% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display | html %][% ELSE %][% loopco.coltitle | html %][% END %]
69
                    <th>[% IF ( loopco.coltitle_display ) %][% loopco.coltitle_display | html %][% ELSE %][% loopco.coltitle | html %][% END %]
70
					</th>
70
                    </th>
71
				[% END %]
71
                [% END %]
72
				<th>TOTAL</th>
72
                <th>TOTAL</th>
73
			</tr>
73
            </tr>
74
				[% FOREACH loopro IN mainloo.looprow %]
74
                [% FOREACH loopro IN mainloo.looprow %]
75
                    <tr>
75
                    <tr>
76
						<td>[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display | html %][% ELSE %][% loopro.rowtitle | html %][% END %]
76
                        <td>[% IF ( loopro.rowtitle_display ) %][% loopro.rowtitle_display | html %][% ELSE %][% loopro.rowtitle | html %][% END %]
77
						</td>
77
                        </td>
78
						[% FOREACH loopcel IN loopro.loopcell %]
78
                        [% FOREACH loopcel IN loopro.loopcell %]
79
						<td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% ELSE %]&nbsp;[% END %]
79
                        <td>[% IF ( loopcel.value ) %][% loopcel.value | html %][% ELSE %]&nbsp;[% END %]
80
						</td>
80
                        </td>
81
						[% END %]
81
                        [% END %]
82
						<td>[% loopro.totalrow | html %]</td>
82
                        <td>[% loopro.totalrow | html %]</td>
83
					</tr>
83
                    </tr>
84
				[% END %]
84
                [% END %]
85
				<tr>
85
                <tr>
86
					<th>TOTAL</th>
86
                    <th>TOTAL</th>
87
					[% FOREACH loopfoote IN mainloo.loopfooter %]
87
                    [% FOREACH loopfoote IN mainloo.loopfooter %]
88
						<th>[% loopfoote.totalcol | html %]</th>
88
                        <th>[% loopfoote.totalcol | html %]</th>
89
					[% END %]
89
                    [% END %]
90
					<th>[% mainloo.total | html %]</th>
90
                    <th>[% mainloo.total | html %]</th>
91
				</tr>
91
                </tr>
92
		</table>
92
        </table>
93
	[% END %]
93
    [% END %]
94
[% ELSE %]
94
[% ELSE %]
95
95
96
	<form method="post" action="/cgi-bin/koha/reports/borrowers_stats.pl">
96
    <form method="post" action="/cgi-bin/koha/reports/borrowers_stats.pl">
97
	<fieldset class="rows"><h3>Patrons statistics</h3>
97
    <fieldset class="rows"><h3>Patrons statistics</h3>
98
	<table>
98
    <table>
99
		<thead>
99
        <thead>
100
			<tr>
101
			<th>Title</th>
102
			<th>Row</th>
103
			<th>Column</th>
104
			<th>Filter</th>
105
			</tr>
106
		</thead>
107
		<tbody>
108
            <tr>
100
            <tr>
109
			<td>Patron category</td>
101
            <th>Title</th>
110
			<td><input type="radio" name="Line" value="categorycode" /></td>
102
            <th>Row</th>
103
            <th>Column</th>
104
            <th>Filter</th>
105
            </tr>
106
        </thead>
107
        <tbody>
108
            <tr>
109
            <td>Patron category</td>
110
            <td><input type="radio" name="Line" value="categorycode" /></td>
111
            <td><input type="radio" checked="checked" name="Column" value="categorycode" /></td>
111
            <td><input type="radio" checked="checked" name="Column" value="categorycode" /></td>
112
            <td>
112
            <td>
113
                <select name="Filter" id="catcode">
113
                <select name="Filter" id="catcode">
Lines 117-185 Link Here
117
                    [% END %]
117
                    [% END %]
118
                </select>
118
                </select>
119
            </td>
119
            </td>
120
			</tr>
120
            </tr>
121
			<tr>
121
            <tr>
122
			<td>Patron status</td>
122
            <td>Patron status</td>
123
			<td colspan="2"></td>
123
            <td colspan="2"></td>
124
			<td ><select name="status"><option value=""> </option><option value="debarred">restricted</option><option value="gonenoadress">gone no address</option><option value="lost">lost</option></select></td>
124
            <td ><select name="status"><option value=""> </option><option value="debarred">restricted</option><option value="gonenoadress">gone no address</option><option value="lost">lost</option></select></td>
125
			</tr>
125
            </tr>
126
            <tr>
126
            <tr>
127
			<td>Patron activity</td>
127
            <td>Patron activity</td>
128
			<td colspan="2"><select name="period" id="period">
128
            <td colspan="2"><select name="period" id="period">
129
			<option value="1">1</option>
129
            <option value="1">1</option>
130
			<option value="2">2</option>
130
            <option value="2">2</option>
131
			<option value="3">3</option>
131
            <option value="3">3</option>
132
			</select>
132
            </select>
133
			<label for="period">years of activity</label> 
133
            <label for="period">years of activity</label>
134
			</td>
134
            </td>
135
			<td><select name="activity"><option value=""> </option><option value="active">active</option><option value="nonactive">no active</option></select></td>
135
            <td><select name="activity"><option value=""> </option><option value="active">active</option><option value="nonactive">no active</option></select></td>
136
			</tr>
136
            </tr>
137
137
138
			<tr>
138
            <tr>
139
            <td rowspan="2">ZIP/Postal code</td>
139
            <td rowspan="2">ZIP/Postal code</td>
140
			<td><input type="radio" name="Line" value="zipcode" /></td>
140
            <td><input type="radio" name="Line" value="zipcode" /></td>
141
			<td><input type="radio" name="Column" value="zipcode" /></td>
141
            <td><input type="radio" name="Column" value="zipcode" /></td>
142
            <td><select name="Filter" id="zipcode">
142
            <td><select name="Filter" id="zipcode">
143
				<option value=""> </option>
143
                <option value=""> </option>
144
				[% FOREACH ZIP_LOO IN ZIP_LOOP %]
144
                [% FOREACH ZIP_LOO IN ZIP_LOOP %]
145
				<option value="[% ZIP_LOO.zipcode | html %]">[% ZIP_LOO.zipcode | html %]</option>
145
                <option value="[% ZIP_LOO.zipcode | html %]">[% ZIP_LOO.zipcode | html %]</option>
146
				[% END %]
146
                [% END %]
147
				</select>
147
                </select>
148
			</td>
148
            </td>
149
			</tr>
149
            </tr>
150
			<tr>
150
            <tr>
151
			<td colspan="2"><select name="digits" id="digits">
151
            <td colspan="2"><select name="digits" id="digits">
152
			<option value=""> </option>
152
            <option value=""> </option>
153
			<option value ="1">1</option>
153
            <option value ="1">1</option>
154
			<option value ="2">2</option>
154
            <option value ="2">2</option>
155
			<option value ="3">3</option>
155
            <option value ="3">3</option>
156
			<option value ="4">4</option>
156
            <option value ="4">4</option>
157
			<option value ="5">5</option>
157
            <option value ="5">5</option>
158
			<option value ="6">6</option>
158
            <option value ="6">6</option>
159
			<option value ="7">7</option>
159
            <option value ="7">7</option>
160
			<option value ="8">8</option>
160
            <option value ="8">8</option>
161
			<option value ="9">9</option>
161
            <option value ="9">9</option>
162
			<option value ="10">10</option>
162
            <option value ="10">10</option>
163
			</select>
163
            </select>
164
			<label for="digits">digits</label> 
164
            <label for="digits">digits</label>
165
			</td>
165
            </td>
166
			<td>&nbsp;</td>
166
            <td>&nbsp;</td>
167
			</tr>
167
            </tr>
168
168
169
            <tr>
169
            <tr>
170
			<td>Library</td>
170
            <td>Library</td>
171
            <td><input type="radio" checked="checked" name="Line"   value="branchcode" /></td>
171
            <td><input type="radio" checked="checked" name="Line"   value="branchcode" /></td>
172
			<td><input type="radio" name="Column" value="branchcode" /></td>
172
            <td><input type="radio" name="Column" value="branchcode" /></td>
173
			<td>
173
            <td>
174
                <select name="Filter" id="branch">
174
                <select name="Filter" id="branch">
175
                <option value=""></option>
175
                <option value=""></option>
176
                [% FOREACH l IN Branches.all( unfiltered => 1 ) %]
176
                [% FOREACH l IN Branches.all( unfiltered => 1 ) %]
177
                    <option value="[% l.branchcode | html %]">[% l.branchcode | html %] - [% l.branchname || 'UNKNOWN' | html %]</option>
177
                    <option value="[% l.branchcode | html %]">[% l.branchcode | html %] - [% l.branchname || 'UNKNOWN' | html %]</option>
178
                [% END %]
178
                [% END %]
179
                </select>
179
                </select>
180
			</td>
180
            </td>
181
			</tr>
181
            </tr>
182
		    <tr>
182
            <tr>
183
                <td>Date of birth</td>
183
                <td>Date of birth</td>
184
                <td colspan="2"></td>
184
                <td colspan="2"></td>
185
                <td>
185
                <td>
Lines 202-241 Link Here
202
                    </select>
202
                    </select>
203
                </td>
203
                </td>
204
            </tr>
204
            </tr>
205
			[% IF ( SORT1_LOOP ) %]
205
            [% IF ( SORT1_LOOP ) %]
206
                <tr>
206
                <tr>
207
				<td>Sort1</td>
207
                <td>Sort1</td>
208
				<td><input type="radio" name="Line" value="sort1" /></td>
208
                <td><input type="radio" name="Line" value="sort1" /></td>
209
				<td><input type="radio" name="Column" value="sort1" /></td>
209
                <td><input type="radio" name="Column" value="sort1" /></td>
210
				<td>
210
                <td>
211
                    <select id="sort1" name="Filter">
211
                    <select id="sort1" name="Filter">
212
					<option value=""/>
212
                    <option value=""/>
213
					[% FOREACH SORT1_LOO IN SORT1_LOOP %]
213
                    [% FOREACH SORT1_LOO IN SORT1_LOOP %]
214
						<option value="[% SORT1_LOO.authorized_value | html %]">[% SORT1_LOO.lib | html %]</option>
214
                        <option value="[% SORT1_LOO.authorized_value | html %]">[% SORT1_LOO.lib | html %]</option>
215
					[% END %]
215
                    [% END %]
216
					</select>
216
                    </select>
217
				</td>
217
                </td>
218
				</tr>
218
                </tr>
219
            [% ELSE %]
219
            [% ELSE %]
220
                <input type="hidden" name="Filter" />
220
                <input type="hidden" name="Filter" />
221
			[% END %]
221
            [% END %]
222
			[% IF ( SORT2_LOOP ) %]
222
            [% IF ( SORT2_LOOP ) %]
223
                <tr>
223
                <tr>
224
				<td>Sort2</td>
224
                <td>Sort2</td>
225
				<td><input type="radio" name="Line" value="sort2" /></td>
225
                <td><input type="radio" name="Line" value="sort2" /></td>
226
				<td><input type="radio" name="Column" value="sort2" /></td>
226
                <td><input type="radio" name="Column" value="sort2" /></td>
227
				<td>
227
                <td>
228
                    <select id="sort2" name="Filter">
228
                    <select id="sort2" name="Filter">
229
					<option value=""/>
229
                    <option value=""/>
230
					[% FOREACH SORT2_LOO IN SORT2_LOOP %]
230
                    [% FOREACH SORT2_LOO IN SORT2_LOOP %]
231
						<option value="[% SORT2_LOO.value | html %]">[% SORT2_LOO.value | html %]</option>
231
                        <option value="[% SORT2_LOO.value | html %]">[% SORT2_LOO.value | html %]</option>
232
					[% END %]
232
                    [% END %]
233
					</select>
233
                    </select>
234
				</td>
234
                </td>
235
				</tr>
235
                </tr>
236
            [% ELSE %]
236
            [% ELSE %]
237
                <input type="hidden" name="Filter" />
237
                <input type="hidden" name="Filter" />
238
			[% END %]
238
            [% END %]
239
            [% IF Koha.Preference('ExtendedPatronAttributes') %]
239
            [% IF Koha.Preference('ExtendedPatronAttributes') %]
240
                <tr>
240
                <tr>
241
                    <th colspan="4">Patron attributes</th>
241
                    <th colspan="4">Patron attributes</th>
Lines 284-292 Link Here
284
    </table>
284
    </table>
285
    </fieldset>
285
    </fieldset>
286
286
287
	
287
288
	<fieldset class="rows">
288
    <fieldset class="rows">
289
	<h3>Output</h3>
289
    <h3>Output</h3>
290
    <ol>
290
    <ol>
291
        <li>
291
        <li>
292
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
292
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 312-322 Link Here
312
        </li>
312
        </li>
313
    </ol>
313
    </ol>
314
314
315
	<input type="submit" class="principal" value="Submit" />
315
    <input type="submit" class="principal" value="Submit" />
316
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
316
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
317
	<input type="hidden" name="do_it" value="1" />
317
    <input type="hidden" name="do_it" value="1" />
318
	</fieldset>
318
    </fieldset>
319
	</form>
319
    </form>
320
[% END %]
320
[% END %]
321
321
322
            </main>
322
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tt (-76 / +76 lines)
Lines 47-97 Link Here
47
[% IF ( do_it ) %]
47
[% IF ( do_it ) %]
48
48
49
    <h2>Top [% mainloo.limit | html %] Most-circulated items</h2>
49
    <h2>Top [% mainloo.limit | html %] Most-circulated items</h2>
50
	[% FOREACH mainloo IN mainloop %]
50
    [% FOREACH mainloo IN mainloop %]
51
		[% IF ( mainloo.loopfilter ) %]
51
        [% IF ( mainloo.loopfilter ) %]
52
            <p>Filtered on:</p>
52
            <p>Filtered on:</p>
53
			[% FOREACH loopfilte IN mainloo.loopfilter %]
53
            [% FOREACH loopfilte IN mainloo.loopfilter %]
54
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
54
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
55
			[% END %]
55
            [% END %]
56
		[% END %]
56
        [% END %]
57
		
57
58
		<table>
58
        <table>
59
<tr>				<th>Rank/Biblioitemnumbers</th>
59
<tr>				<th>Rank/Biblioitemnumbers</th>
60
				[% FOREACH loopco IN mainloo.loopcol %]
60
                [% FOREACH loopco IN mainloo.loopcol %]
61
					<th colspan="2">[% loopco.coltitle | html %]</th>
61
                    <th colspan="2">[% loopco.coltitle | html %]</th>
62
				[% END %]</tr>
62
                [% END %]</tr>
63
        <tr>
63
        <tr>
64
				<th>&nbsp;</th>
64
                <th>&nbsp;</th>
65
				[% FOREACH loopco IN mainloo.loopcol %]
65
                [% FOREACH loopco IN mainloo.loopcol %]
66
					<th>Item</th>
66
                    <th>Item</th>
67
                    <th>Count of checkouts</th>
67
                    <th>Count of checkouts</th>
68
				[% END %]
68
                [% END %]
69
			  </tr>
69
              </tr>
70
				[% FOREACH loopro IN mainloo.looprow %]
70
                [% FOREACH loopro IN mainloo.looprow %]
71
                    <tr>
71
                    <tr>
72
						<td>[% loopro.rowtitle | html %]</td>
72
                        <td>[% loopro.rowtitle | html %]</td>
73
						[% FOREACH loopcel IN loopro.loopcell %]
73
                        [% FOREACH loopcel IN loopro.loopcell %]
74
							<td>
74
                            <td>
75
75
76
[% IF ( loopcel.reference ) %]
76
[% IF ( loopcel.reference ) %]
77
    <a href="[% PROCESS biblio_a_href biblionumber => loopcel.reference %]">
77
    <a href="[% PROCESS biblio_a_href biblionumber => loopcel.reference %]">
78
 [% END %]                                        
78
 [% END %]
79
								[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
79
                                [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
80
								[% IF ( loopcel.reference ) %]</a>[% END %]
80
                                [% IF ( loopcel.reference ) %]</a>[% END %]
81
							</td>
81
                            </td>
82
							<td>
82
                            <td>
83
								[% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
83
                                [% IF ( loopcel.count ) %][% loopcel.count | html %][% END %]
84
							</td>
84
                            </td>
85
						[% END %]
85
                        [% END %]
86
					</tr>
86
                    </tr>
87
				[% END %]
87
                [% END %]
88
		</table>
88
        </table>
89
	[% END %]
89
    [% END %]
90
[% ELSE %]
90
[% ELSE %]
91
    <h2>Most-circulated items</h2>
91
    <h2>Most-circulated items</h2>
92
	<form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
92
    <form method="post" action="/cgi-bin/koha/reports/cat_issues_top.pl">
93
	<fieldset class="rows">
93
    <fieldset class="rows">
94
	<ol>
94
    <ol>
95
        <li>
95
        <li>
96
            <label for="checkoutfrom">Checkout date from: </label>
96
            <label for="checkoutfrom">Checkout date from: </label>
97
            <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" />
97
            <input type="text" size="10" id="checkoutfrom" name="Filter" data-date_to="checkoutto" class="flatpickr" />
Lines 114-127 Link Here
114
                [% PROCESS options_for_libraries libraries => Branches.all() %]
114
                [% PROCESS options_for_libraries libraries => Branches.all() %]
115
            </select>
115
            </select>
116
        </li>
116
        </li>
117
      <li> 
117
      <li>
118
        <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
118
        <label for="documenttype">Item type: </label><select name="Filter" id="documenttype"><option value="" > Any item type</option>
119
    [% FOREACH itemtype IN itemtypes %]
119
    [% FOREACH itemtype IN itemtypes %]
120
        <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
120
        <option value="[% itemtype.itemtype | html %]" >[% itemtype.translated_description | html %] </option>
121
     [% END %] 
121
     [% END %]
122
    </select>
122
    </select>
123
      </li>
123
      </li>
124
      <li> 
124
      <li>
125
        <label for="itemcallnumber">Call number: </label><input type="text" name="Filter" id="itemcallnumber" value="" />
125
        <label for="itemcallnumber">Call number: </label><input type="text" name="Filter" id="itemcallnumber" value="" />
126
      </li>
126
      </li>
127
      <li>
127
      <li>
Lines 145-183 Link Here
145
     [% END %]
145
     [% END %]
146
    </select>
146
    </select>
147
        </li>
147
        </li>
148
				<li><label for="day">Day: </label> <input type="text" name="Filter" id="day" value="" /></li>
148
                <li><label for="day">Day: </label> <input type="text" name="Filter" id="day" value="" /></li>
149
				<li><label for="month">Month: </label> <input type="text" name="Filter" id="month" value="" /></li>
149
                <li><label for="month">Month: </label> <input type="text" name="Filter" id="month" value="" /></li>
150
				<li><label for="year">Year: </label> <input type="text" name="Filter" id="year" value="" /></li>
150
                <li><label for="year">Year: </label> <input type="text" name="Filter" id="year" value="" /></li>
151
	</ol>
151
    </ol>
152
	</fieldset>
152
    </fieldset>
153
	
153
154
	<fieldset class="rows">
154
    <fieldset class="rows">
155
	<h3>Limits</h3>
155
    <h3>Limits</h3>
156
	<ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
156
    <ol><li><label for="numberlimit">Limit to:</label><select name="Limit" id="numberlimit">
157
                        <option value ="" selected="selected">None</option>
158
                        <option value="5" selected="selected"> 5</option>
159
                        <option value ="10">10</option>
160
                        <option value ="15">15</option>
161
                        <option value ="20">20</option>
162
                        <option value ="25">25</option>
163
                        <option value ="40">40</option>
164
                        <option value ="50">50</option>
165
                        <option value ="100">100</option>
166
                    </select></li>
167
    <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
157
                        <option value ="" selected="selected">None</option>
168
                        <option value ="" selected="selected">None</option>
158
						<option value="5" selected="selected"> 5</option>
159
						<option value ="10">10</option>
160
						<option value ="15">15</option>
161
						<option value ="20">20</option>
162
						<option value ="25">25</option>
163
						<option value ="40">40</option>
164
						<option value ="50">50</option>
165
						<option value ="100">100</option>
166
					</select></li>
167
	<li><label for="criteria">By: </label><select name="Criteria" id="criteria">
168
						<option value ="" selected="selected">None</option>
169
                        <option value ="branch">Library</option>
169
                        <option value ="branch">Library</option>
170
						<option value ="categorycode">Categorycode</option>
170
                        <option value ="categorycode">Categorycode</option>
171
						<option value ="itemtype">Itemtype</option>
171
                        <option value ="itemtype">Itemtype</option>
172
						<option value ="Day">Day</option>
172
                        <option value ="Day">Day</option>
173
						<option value ="Week">Week</option>
173
                        <option value ="Week">Week</option>
174
						<option value ="Month">Month</option>
174
                        <option value ="Month">Month</option>
175
						<option value ="Year">Year</option>
175
                        <option value ="Year">Year</option>
176
					</select></li></ol>
176
                    </select></li></ol>
177
	</fieldset>
177
    </fieldset>
178
	
178
179
	<fieldset class="rows">
179
    <fieldset class="rows">
180
	<h3>Output</h3>
180
    <h3>Output</h3>
181
    <ol>
181
    <ol>
182
        <li>
182
        <li>
183
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
183
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 202-215 Link Here
202
            </select>
202
            </select>
203
        </li>
203
        </li>
204
    </ol>
204
    </ol>
205
	</fieldset>
205
    </fieldset>
206
206
207
	<fieldset class="action">
207
    <fieldset class="action">
208
	<input type="submit" class="principal" value="Submit" />
208
    <input type="submit" class="principal" value="Submit" />
209
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
209
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
210
	<input type="hidden" name="do_it" value="1" />
210
    <input type="hidden" name="do_it" value="1" />
211
	</fieldset>
211
    </fieldset>
212
	</form>
212
    </form>
213
[% END %]
213
[% END %]
214
214
215
            </main>
215
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_out.tt (-80 / +80 lines)
Lines 7-13 Link Here
7
<title>Items with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Items with no checkouts &rsaquo; Reports &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
<style>
9
<style>
10
	.sql {display: none;}
10
    .sql {display: none;}
11
</style>
11
</style>
12
</head>
12
</head>
13
<body id="rep_catalogue_out" class="rep">
13
<body id="rep_catalogue_out" class="rep">
Lines 36-131 Link Here
36
            <main>
36
            <main>
37
37
38
[% IF ( do_it ) %]
38
[% IF ( do_it ) %]
39
	<h2>Items with no checkouts</h2>
39
    <h2>Items with no checkouts</h2>
40
	[% FOREACH mainloo IN mainloop %]
40
    [% FOREACH mainloo IN mainloop %]
41
		[% IF ( mainloo.loopfilter ) %]
41
        [% IF ( mainloo.loopfilter ) %]
42
            <p>Filtered on:</p>
42
            <p>Filtered on:</p>
43
			[% FOREACH loopfilte IN mainloo.loopfilter %]
43
            [% FOREACH loopfilte IN mainloo.loopfilter %]
44
				[% IF ( loopfilte.err ) %]<p class="error">Error: 
44
                [% IF ( loopfilte.err ) %]<p class="error">Error:
45
				[% ELSE %]<p>
45
                [% ELSE %]<p>
46
				[% END %]
46
                [% END %]
47
					[% IF ( loopfilte.sql ) %]<span class="sql">[% END %]
47
                    [% IF ( loopfilte.sql ) %]<span class="sql">[% END %]
48
					[% loopfilte.crit | html %] = [% loopfilte.filter | html %]
48
                    [% loopfilte.crit | html %] = [% loopfilte.filter | html %]
49
					[% IF ( loopfilte.sql ) %]</span>[% END %]
49
                    [% IF ( loopfilte.sql ) %]</span>[% END %]
50
				</p>
50
                </p>
51
			[% END %]
51
            [% END %]
52
		[% END %]
52
        [% END %]
53
		
53
54
		[% IF ( mainloo.looptables ) %]
54
        [% IF ( mainloo.looptables ) %]
55
			<h3><a name="summary" id="summary"></a>Summary</h3>
55
            <h3><a name="summary" id="summary"></a>Summary</h3>
56
			<table id="summary_table">
56
            <table id="summary_table">
57
                <tr><th>Group</th><th>Call number range</th><th>Number of items displayed</th><th>Total items in group</th>
57
                <tr><th>Group</th><th>Call number range</th><th>Number of items displayed</th><th>Total items in group</th>
58
				</tr>
58
                </tr>
59
			[% FOREACH looptable IN mainloo.looptables %]
59
            [% FOREACH looptable IN mainloo.looptables %]
60
                <tr><td><a href="#table[% looptable.coltitle | uri %]">[% looptable.coltitle | html %]</a></td>
60
                <tr><td><a href="#table[% looptable.coltitle | uri %]">[% looptable.coltitle | html %]</a></td>
61
					<td>[% IF ( looptable.looptable_count ) %]
61
                    <td>[% IF ( looptable.looptable_count ) %]
62
						[% looptable.looptable_first | html %] to [% looptable.looptable_last | html %]
62
                        [% looptable.looptable_first | html %] to [% looptable.looptable_last | html %]
63
						[% END %]
63
                        [% END %]
64
					</td>
64
                    </td>
65
					<td>[% looptable.looptable_count | html %]</td>
65
                    <td>[% looptable.looptable_count | html %]</td>
66
					<td>[% looptable.coltitle_count | html %]</td>
66
                    <td>[% looptable.coltitle_count | html %]</td>
67
				</tr>
67
                </tr>
68
			[% END %]
68
            [% END %]
69
				<tr><th>TOTAL</th><th></th><th>[% mainloo.total_looptable_count | html %]</th><th>[% mainloo.total_coltitle_count | html %]</th>
69
                <tr><th>TOTAL</th><th></th><th>[% mainloo.total_looptable_count | html %]</th><th>[% mainloo.total_coltitle_count | html %]</th>
70
				</tr>
70
                </tr>
71
			</table>
71
            </table>
72
72
73
		[% END %]
73
        [% END %]
74
		[% FOREACH looptable IN mainloo.looptables %]
74
        [% FOREACH looptable IN mainloo.looptables %]
75
		<h3><a id="table[% looptable.coltitle | html %]"></a>
75
        <h3><a id="table[% looptable.coltitle | html %]"></a>
76
			[% looptable.coltitle | html %]
76
            [% looptable.coltitle | html %]
77
		</h3>
77
        </h3>
78
		<table>
78
        <table>
79
			<tr>
79
            <tr>
80
				<th>#</th>
80
                <th>#</th>
81
                <th>Call number</th>
81
                <th>Call number</th>
82
				<th>Barcode</th>
82
                <th>Barcode</th>
83
                <th>Item details</th>
83
                <th>Item details</th>
84
			</tr>
84
            </tr>
85
				[% IF ( looptable.looprow ) %]
85
                [% IF ( looptable.looprow ) %]
86
				[% FOREACH loopro IN looptable.looprow %]
86
                [% FOREACH loopro IN looptable.looprow %]
87
                    <tr>
87
                    <tr>
88
		    
88
89
						<td>[% loop.count | html %]</td>
89
                        <td>[% loop.count | html %]</td>
90
                        <td>[% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber | html %][% ELSE %]No call number[% END %]</td>
90
                        <td>[% IF ( loopro.itemcallnumber ) %][% loopro.itemcallnumber | html %][% ELSE %]No call number[% END %]</td>
91
                        <td>[% IF ( loopro.barcode ) %][% loopro.barcode | html %][% ELSE %]No barcode[% END %]</td>
91
                        <td>[% IF ( loopro.barcode ) %][% loopro.barcode | html %][% ELSE %]No barcode[% END %]</td>
92
                        <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]">[% IF ( loopro.title ) %][% loopro.title | html %][% ELSE %]NO TITLE[% END %]</a> [% IF ( loopro.author ) %] by [% loopro.author | html %][% END %]</p>
92
                        <td><p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% loopro.biblionumber | uri %]">[% IF ( loopro.title ) %][% loopro.title | html %][% ELSE %]NO TITLE[% END %]</a> [% IF ( loopro.author ) %] by [% loopro.author | html %][% END %]</p>
93
                            [% IF ( loopro.branch ) %]at [% Branches.GetName( loopro.branch ) | html %][% END %]
93
                            [% IF ( loopro.branch ) %]at [% Branches.GetName( loopro.branch ) | html %][% END %]
94
						</td>
94
                        </td>
95
					</tr>
95
                    </tr>
96
				[% END %]
96
                [% END %]
97
				[% ELSE %]
97
                [% ELSE %]
98
					<tr><td colspan="4">No items for [% looptable.coltitle | html %]</td>
98
                    <tr><td colspan="4">No items for [% looptable.coltitle | html %]</td>
99
					</tr>
99
                    </tr>
100
				[% END %]
100
                [% END %]
101
		</table>
101
        </table>
102
		[% END %]
102
        [% END %]
103
	[% END %]
103
    [% END %]
104
[% ELSE %]
104
[% ELSE %]
105
    <h2>Items with no checkouts</h2>
105
    <h2>Items with no checkouts</h2>
106
	<form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
106
    <form method="post" action="/cgi-bin/koha/reports/catalogue_out.pl">
107
	
107
108
	<fieldset class="rows">
108
    <fieldset class="rows">
109
		<ol>
109
        <ol>
110
			<li><label for="branch">Library: </label>
110
            <li><label for="branch">Library: </label>
111
	<select name="Filter" id="branch">
111
    <select name="Filter" id="branch">
112
        <option value="">Any library</option>
112
        <option value="">Any library</option>
113
        [% PROCESS options_for_libraries libraries => Branches.all() %]
113
        [% PROCESS options_for_libraries libraries => Branches.all() %]
114
    </select></li>
114
    </select></li>
115
      <li> 
115
      <li>
116
        <label for="documenttype">Item type: </label><select name="Filter" id="documenttype">
116
        <label for="documenttype">Item type: </label><select name="Filter" id="documenttype">
117
        <option value="">Any item type</option>
117
        <option value="">Any item type</option>
118
    [% FOREACH itemtype IN itemtypes %]
118
    [% FOREACH itemtype IN itemtypes %]
119
        <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
119
        <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
120
     [% END %] 
120
     [% END %]
121
    </select>
121
    </select>
122
    </li>
122
    </li>
123
		</ol>	
123
        </ol>
124
	</fieldset>
124
    </fieldset>
125
	
125
126
	<fieldset class="rows">
126
    <fieldset class="rows">
127
	<h3>Limits</h3>
127
    <h3>Limits</h3>
128
		<ol>
128
        <ol>
129
        <li>
129
        <li>
130
            <label for="numberlimit">Limit to: </label>
130
            <label for="numberlimit">Limit to: </label>
131
            <select name="Limit" id="numberlimit">
131
            <select name="Limit" id="numberlimit">
Lines 140-160 Link Here
140
                <option value ="1000">1000</option>
140
                <option value ="1000">1000</option>
141
            </select>
141
            </select>
142
        </li>
142
        </li>
143
		<li><label for="criteria">By: </label><select name="Criteria" id="criteria">
143
        <li><label for="criteria">By: </label><select name="Criteria" id="criteria">
144
						<option value ="" selected="selected">None</option>
144
                        <option value ="" selected="selected">None</option>
145
						<option value ="homebranch">Library</option>
145
                        <option value ="homebranch">Library</option>
146
                        <option value ="itype">Item type</option>
146
                        <option value ="itype">Item type</option>
147
					</select></li>
147
                    </select></li>
148
		</ol>
148
        </ol>
149
	</fieldset>
149
    </fieldset>
150
150
151
	<fieldset class="action">
151
    <fieldset class="action">
152
	<input type="submit" class="principal" value="Submit" />
152
    <input type="submit" class="principal" value="Submit" />
153
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
153
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
154
    <input type="hidden" name="do_it" value="1" />
154
    <input type="hidden" name="do_it" value="1" />
155
    <input type="hidden" name="output" value="screen" />
155
    <input type="hidden" name="output" value="screen" />
156
	</fieldset>
156
    </fieldset>
157
	</form>
157
    </form>
158
[% END %]
158
[% END %]
159
159
160
            </main>
160
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt (-113 / +113 lines)
Lines 46-59 Link Here
46
46
47
<h2>Catalog statistics</h2>
47
<h2>Catalog statistics</h2>
48
[% IF ( do_it ) %]
48
[% IF ( do_it ) %]
49
	[% FOREACH mainloo IN mainloop %]
49
    [% FOREACH mainloo IN mainloop %]
50
		[% IF ( mainloo.loopfilter ) %]
50
        [% IF ( mainloo.loopfilter ) %]
51
            <p>Filtered on:</p>
51
            <p>Filtered on:</p>
52
			[% FOREACH loopfilte IN mainloo.loopfilter %]
52
            [% FOREACH loopfilte IN mainloo.loopfilter %]
53
					<p>[% loopfilte.crit | html %] =[% loopfilte.filter | html %]</p>
53
                    <p>[% loopfilte.crit | html %] =[% loopfilte.filter | html %]</p>
54
			[% END %]
54
            [% END %]
55
		[% END %]
55
        [% END %]
56
		
56
57
        <table id="catalogue_stats">
57
        <table id="catalogue_stats">
58
            <thead>
58
            <thead>
59
                <tr>
59
                <tr>
Lines 65-115 Link Here
65
                </tr>
65
                </tr>
66
            </thead>
66
            </thead>
67
            <tbody>
67
            <tbody>
68
				[% FOREACH loopro IN mainloo.looprow %]
68
                [% FOREACH loopro IN mainloo.looprow %]
69
					<tr>
69
                    <tr>
70
						[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
70
                        [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
71
						[% loopro.rowtitle | html %]</td>
71
                        [% loopro.rowtitle | html %]</td>
72
						[% FOREACH loopcel IN loopro.loopcell %]
72
                        [% FOREACH loopcel IN loopro.loopcell %]
73
							[% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
73
                            [% IF ( loopcel.hilighted ) %]<td>[% ELSE %]<td>[% END %]
74
								[% IF ( loopcel.value ) %][% loopcel.value | html %]
74
                                [% IF ( loopcel.value ) %][% loopcel.value | html %]
75
								[% ELSE %]&nbsp;
75
                                [% ELSE %]&nbsp;
76
								[% END %]
76
                                [% END %]
77
							</td>
77
                            </td>
78
						[% END %]
78
                        [% END %]
79
						[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
79
                        [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
80
							[% loopro.totalrow | html %]
80
                            [% loopro.totalrow | html %]
81
						</td>
81
                        </td>
82
					</tr>
82
                    </tr>
83
				[% END %]
83
                [% END %]
84
            </tbody>
84
            </tbody>
85
            <tfoot>
85
            <tfoot>
86
				<tr>
86
                <tr>
87
                    <th>TOTAL (all results)</th>
87
                    <th>TOTAL (all results)</th>
88
					[% FOREACH loopfoote IN mainloo.loopfooter %]
88
                    [% FOREACH loopfoote IN mainloo.loopfooter %]
89
						<th>
89
                        <th>
90
							[% loopfoote.totalcol | html %]
90
                            [% loopfoote.totalcol | html %]
91
						</th>
91
                        </th>
92
					[% END %]
92
                    [% END %]
93
					<th>[% mainloo.total | html %]</th>
93
                    <th>[% mainloo.total | html %]</th>
94
				</tr>
94
                </tr>
95
            </tfoot>
95
            </tfoot>
96
		</table>
96
        </table>
97
	[% END %]
97
    [% END %]
98
[% ELSE %]
98
[% ELSE %]
99
99
100
	<form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
100
    <form method="post" action="/cgi-bin/koha/reports/catalogue_stats.pl">
101
	<fieldset class="rows">
101
    <fieldset class="rows">
102
	<h3>Catalog statistics</h3>
102
    <h3>Catalog statistics</h3>
103
	<table>
103
    <table>
104
		<thead>
104
        <thead>
105
			<tr>
105
            <tr>
106
			<th>Title</th>
106
            <th>Title</th>
107
			<th>Row</th>
107
            <th>Row</th>
108
			<th>Column</th>
108
            <th>Column</th>
109
			<th>Filter</th>
109
            <th>Filter</th>
110
			</tr>
110
            </tr>
111
		</thead>
111
        </thead>
112
		<tbody>
112
        <tbody>
113
      <tr>
113
      <tr>
114
        <td>Koha full call number</td>
114
        <td>Koha full call number</td>
115
        <td><input type="radio" name="Line" value="items.itemcallnumber" /></td>
115
        <td><input type="radio" name="Line" value="items.itemcallnumber" /></td>
Lines 130-193 Link Here
130
        </td>
130
        </td>
131
        <td>&nbsp;</td>
131
        <td>&nbsp;</td>
132
      </tr>
132
      </tr>
133
			 <tr>
133
             <tr>
134
                <td>Item type</td>
134
                <td>Item type</td>
135
				<td><input type="radio" name="Line" value="[% item_itype | html %]" /></td>
135
                <td><input type="radio" name="Line" value="[% item_itype | html %]" /></td>
136
                <td><input type="radio" checked="checked" name="Column" value="[% item_itype | html %]" /></td>
136
                <td><input type="radio" checked="checked" name="Column" value="[% item_itype | html %]" /></td>
137
				<td><select name="Filter" id="[% item_itype | html %]">
137
                <td><select name="Filter" id="[% item_itype | html %]">
138
					<option value=""> </option>
138
                    <option value=""> </option>
139
                    [% FOREACH itemtype IN itemtypes %]
139
                    [% FOREACH itemtype IN itemtypes %]
140
                        <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
140
                        <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
141
                    [% END %]
141
                    [% END %]
142
					</select>
142
                    </select>
143
				</td>
143
                </td>
144
			</tr>
144
            </tr>
145
			 <tr>
145
             <tr>
146
				<td>Publisher</td>
146
                <td>Publisher</td>
147
				<td><input type="radio" name="Line" value="publishercode" /></td>
147
                <td><input type="radio" name="Line" value="publishercode" /></td>
148
				<td><input type="radio" name="Column" value="publishercode" /></td>
148
                <td><input type="radio" name="Column" value="publishercode" /></td>
149
				<td><input type="text" name="Filter" /></td>
149
                <td><input type="text" name="Filter" /></td>
150
			</tr>
150
            </tr>
151
			<tr>
151
            <tr>
152
                <td>Publication year</td>
152
                <td>Publication year</td>
153
				<td><input type="radio" name="Line" value="publicationyear" /></td>
153
                <td><input type="radio" name="Line" value="publicationyear" /></td>
154
				<td><input type="radio" name="Column" value="publicationyear" /></td>
154
                <td><input type="radio" name="Column" value="publicationyear" /></td>
155
                <td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubYearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td>
155
                <td><label for="pubyearFrom">From</label> <input type="text" name="Filter" id="pubYearFrom" /> <label for="pubyearTo">To</label> <input type="text" name="Filter" id="pubyearTo" /></td>
156
			</tr>
156
            </tr>
157
			<tr>
157
            <tr>
158
                <td>Home library</td>
158
                <td>Home library</td>
159
                <td><input type="radio" checked="checked" name="Line" value="items.homebranch" /></td>
159
                <td><input type="radio" checked="checked" name="Line" value="items.homebranch" /></td>
160
				<td><input type="radio" name="Column" value="items.homebranch" /></td>
160
                <td><input type="radio" name="Column" value="items.homebranch" /></td>
161
				<td><select name="Filter" id="branch">
161
                <td><select name="Filter" id="branch">
162
                    <option value=""> </option>
162
                    <option value=""> </option>
163
                    [% PROCESS options_for_libraries libraries => Branches.all() %]
163
                    [% PROCESS options_for_libraries libraries => Branches.all() %]
164
                    </select>
164
                    </select>
165
				</td>
165
                </td>
166
			</tr>
166
            </tr>
167
			<tr>
167
            <tr>
168
                <td>Shelving location</td>
168
                <td>Shelving location</td>
169
				<td><input type="radio" name="Line" value="items.location" /></td>
169
                <td><input type="radio" name="Line" value="items.location" /></td>
170
				<td><input type="radio" name="Column" value="items.location" /></td>
170
                <td><input type="radio" name="Column" value="items.location" /></td>
171
				<td><select name="Filter" id="location">
171
                <td><select name="Filter" id="location">
172
					<option value=""> </option>
172
                    <option value=""> </option>
173
					[% FOREACH locationloo IN locationloop %]
173
                    [% FOREACH locationloo IN locationloop %]
174
					[% IF ( locationloo.selected ) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %]
174
                    [% IF ( locationloo.selected ) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %]
175
					[% END %]
175
                    [% END %]
176
					</select>
176
                    </select>
177
				</td>
177
                </td>
178
			</tr>
178
            </tr>
179
			<tr>
179
            <tr>
180
				<td>Collection</td>
180
                <td>Collection</td>
181
				<td><input type="radio" name="Line"   value="items.ccode" /></td>
181
                <td><input type="radio" name="Line"   value="items.ccode" /></td>
182
				<td><input type="radio" name="Column" value="items.ccode" /></td>
182
                <td><input type="radio" name="Column" value="items.ccode" /></td>
183
				<td><select name="Filter" id="ccode">
183
                <td><select name="Filter" id="ccode">
184
					<option value=""> </option>
184
                    <option value=""> </option>
185
					[% FOREACH authval IN authvals %]
185
                    [% FOREACH authval IN authvals %]
186
					[% IF ( authval.selected ) %]<option value="[% authval.code | html %]" selected="selected">[% authval.description | html %]</option>[% ELSE %]<option value="[% authval.code | html %]">[% authval.description | html %]</option>[% END %]
186
                    [% IF ( authval.selected ) %]<option value="[% authval.code | html %]" selected="selected">[% authval.description | html %]</option>[% ELSE %]<option value="[% authval.code | html %]">[% authval.description | html %]</option>[% END %]
187
					[% END %]
187
                    [% END %]
188
					</select>
188
                    </select>
189
				</td>
189
                </td>
190
			</tr>
190
            </tr>
191
            [% IF (notforloan) %]
191
            [% IF (notforloan) %]
192
                <tr>
192
                <tr>
193
                    <td>[% notforloan_label | html %]</td>
193
                    <td>[% notforloan_label | html %]</td>
Lines 273-280 Link Here
273
                    <input type="text" name="Filter" id="deldateTo" class="flatpickr" />
273
                    <input type="text" name="Filter" id="deldateTo" class="flatpickr" />
274
                </td>
274
                </td>
275
            </tr>
275
            </tr>
276
		</tbody>
276
        </tbody>
277
	</table><br /></fieldset>
277
    </table><br /></fieldset>
278
278
279
    <fieldset class="rows">
279
    <fieldset class="rows">
280
        <h3>Cell value</h3>
280
        <h3>Cell value</h3>
Lines 293-311 Link Here
293
            </li>
293
            </li>
294
        </ol>
294
        </ol>
295
    </fieldset>
295
    </fieldset>
296
	
296
297
	<fieldset class="rows">
297
    <fieldset class="rows">
298
	<h3>Output</h3>
298
    <h3>Output</h3>
299
	<ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
299
    <ol><li><label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" /></li>
300
		<li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
300
        <li><label for="outputfile">To a file: </label><input type="radio" name="output" value="file" id="outputfile" />
301
			<label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
301
            <label class="inline" for="basename">Named: </label><input type="text" name="basename" id="basename" value="Export" />
302
			<label class="inline" for="MIME">Into an application: </label>
302
            <label class="inline" for="MIME">Into an application: </label>
303
			<select name="MIME" id="MIME">
303
            <select name="MIME" id="MIME">
304
			[% FOREACH CGIextChoic IN CGIextChoice %]
304
            [% FOREACH CGIextChoic IN CGIextChoice %]
305
			<option value="[% CGIextChoic.type | html %]">[% CGIextChoic.type | html %]</option>
305
            <option value="[% CGIextChoic.type | html %]">[% CGIextChoic.type | html %]</option>
306
			[% END %]
306
            [% END %]
307
			</select>
307
            </select>
308
			<!-- <label class="inline" for="sep">Delimiter: </label> -->
308
            <!-- <label class="inline" for="sep">Delimiter: </label> -->
309
            <select name="sep" id="sep">
309
            <select name="sep" id="sep">
310
            [% FOREACH value IN CGIsepChoice.values.sort() %]
310
            [% FOREACH value IN CGIsepChoice.values.sort() %]
311
              [% IF ( value == CGIsepChoice.default ) %]
311
              [% IF ( value == CGIsepChoice.default ) %]
Lines 315-327 Link Here
315
              [% END %]
315
              [% END %]
316
            [% END %]
316
            [% END %]
317
            </select>
317
            </select>
318
		</li>
318
        </li>
319
	</ol>
319
    </ol>
320
	<input type="submit" class="principal" value="Submit" />
320
    <input type="submit" class="principal" value="Submit" />
321
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
321
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
322
	<input type="hidden" name="do_it" value="1" />
322
    <input type="hidden" name="do_it" value="1" />
323
	</fieldset>
323
    </fieldset>
324
	</form>
324
    </form>
325
[% END %]
325
[% END %]
326
326
327
            </main>
327
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt (-129 / +129 lines)
Lines 46-110 Link Here
46
46
47
<h2>Average checkout period</h2>
47
<h2>Average checkout period</h2>
48
[% IF ( do_it ) %]
48
[% IF ( do_it ) %]
49
	[% FOREACH mainloo IN mainloop %]
49
    [% FOREACH mainloo IN mainloop %]
50
		[% IF ( mainloo.loopfilter ) %]
50
        [% IF ( mainloo.loopfilter ) %]
51
            <p>Filtered on:</p>
51
            <p>Filtered on:</p>
52
			[% FOREACH loopfilte IN mainloo.loopfilter %]
52
            [% FOREACH loopfilte IN mainloo.loopfilter %]
53
					<p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
53
                    <p>[% IF ( loopfilte.err ) %]  [% END %] [% loopfilte.crit | html %] =[% loopfilte.filter | html %][% IF ( loopfilte.err ) %]  [% END %]</p>
54
			[% END %]
54
            [% END %]
55
		[% END %]
55
        [% END %]
56
		
56
57
		<table>
57
        <table>
58
			<tr>
58
            <tr>
59
				<th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
59
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
60
				[% FOREACH loopco IN mainloo.loopcol %]
60
                [% FOREACH loopco IN mainloo.loopcol %]
61
					<th>[% loopco.coltitle | html %]</th>
61
                    <th>[% loopco.coltitle | html %]</th>
62
				[% END %]
62
                [% END %]
63
				<th>TOTAL</th>
63
                <th>TOTAL</th>
64
			</tr>
64
            </tr>
65
				[% FOREACH loopro IN mainloo.looprow %]
65
                [% FOREACH loopro IN mainloo.looprow %]
66
					<tr>
66
                    <tr>
67
						[% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
67
                        [% IF ( loopro.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
68
						[% loopro.rowtitle | html %]</td>
68
                        [% loopro.rowtitle | html %]</td>
69
						[% FOREACH loopcel IN loopro.loopcell %]
69
                        [% FOREACH loopcel IN loopro.loopcell %]
70
							[% IF ( loopcel.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
70
                            [% IF ( loopcel.hilighted ) %]<td class="hilighted">[% ELSE %]<td>[% END %]
71
								[% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
71
                                [% IF ( loopcel.value ) %][% loopcel.value | html %][% END %]
72
							</td>
72
                            </td>
73
						[% END %]
73
                        [% END %]
74
						[% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
74
                        [% IF ( loopro.hilighted ) %]<td>[% ELSE %]<td>[% END %]
75
							[% loopro.totalrow | html %]
75
                            [% loopro.totalrow | html %]
76
						</td>
76
                        </td>
77
					</tr>
77
                    </tr>
78
				[% END %]
78
                [% END %]
79
				<tr>
79
                <tr>
80
					<th>TOTAL</th>
80
                    <th>TOTAL</th>
81
					[% FOREACH loopfoote IN mainloo.loopfooter %]
81
                    [% FOREACH loopfoote IN mainloo.loopfooter %]
82
						<th>
82
                        <th>
83
							[% loopfoote.totalcol | html %]
83
                            [% loopfoote.totalcol | html %]
84
						</th>
84
                        </th>
85
					[% END %]
85
                    [% END %]
86
					<th>[% mainloo.total | html %]</th>
86
                    <th>[% mainloo.total | html %]</th>
87
				</tr>
87
                </tr>
88
		</table>
88
        </table>
89
	[% END %]
89
    [% END %]
90
[% ELSE %]
90
[% ELSE %]
91
91
92
	<form method="post" action="/cgi-bin/koha/reports/issues_avg_stats.pl">
92
    <form method="post" action="/cgi-bin/koha/reports/issues_avg_stats.pl">
93
	<fieldset class="rows">
93
    <fieldset class="rows">
94
	<h3>Average checkout period statistics</h3>
94
    <h3>Average checkout period statistics</h3>
95
	<table>
95
    <table>
96
		<thead>
96
        <thead>
97
			<tr>
97
            <tr>
98
			<th>Title</th>
98
            <th>Title</th>
99
			<th>Row</th>
99
            <th>Row</th>
100
			<th>Column</th>
100
            <th>Column</th>
101
			<th>Filter</th>
101
            <th>Filter</th>
102
			</tr>
102
            </tr>
103
		</thead>
103
        </thead>
104
		<tbody>
104
        <tbody>
105
			<tr class="hilighted">
105
            <tr class="hilighted">
106
				<td>Checkout date</td>
106
                <td>Checkout date</td>
107
				<td><input type="radio" name="Line" value="timestamp" /></td>
107
                <td><input type="radio" name="Line" value="timestamp" /></td>
108
                <td><input type="radio" checked="checked" name="Column" value="timestamp" /></td>
108
                <td><input type="radio" checked="checked" name="Column" value="timestamp" /></td>
109
                <td>
109
                <td>
110
                    <label for="checkoutfrom">From</label>
110
                    <label for="checkoutfrom">From</label>
Lines 113-136 Link Here
113
                    <label for="checkouto">To</label>
113
                    <label for="checkouto">To</label>
114
                    <input size="10" id="checkouto" name="Filter" value="" type="text" class="flatpickr" />
114
                    <input size="10" id="checkouto" name="Filter" value="" type="text" class="flatpickr" />
115
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
115
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
116
				</td>
116
                </td>
117
			</tr>
117
            </tr>
118
			<tr class="hilighted"> 
118
            <tr class="hilighted">
119
				<td>&nbsp;</td>
119
                <td>&nbsp;</td>
120
				<td colspan="2">by <select name="IssueDisplay">
120
                <td colspan="2">by <select name="IssueDisplay">
121
					<option value=""> </option>
121
                    <option value=""> </option>
122
					<option value ="1">Day</option>
122
                    <option value ="1">Day</option>
123
					<option value ="2">Month</option>
123
                    <option value ="2">Month</option>
124
					<option value ="3">Year</option>
124
                    <option value ="3">Year</option>
125
					</select>
125
                    </select>
126
126
127
				</td>
127
                </td>
128
				<td><!--Preparing Month and Day Selection--><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td>
128
                <td><!--Preparing Month and Day Selection--><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td>
129
			</tr>
129
            </tr>
130
			<tr>
130
            <tr>
131
				<td>Returns</td>
131
                <td>Returns</td>
132
				<td><input type="radio" name="Line" value="returndate" /></td>
132
                <td><input type="radio" name="Line" value="returndate" /></td>
133
				<td><input type="radio" name="Column" value="returndate" /></td>
133
                <td><input type="radio" name="Column" value="returndate" /></td>
134
                <td>
134
                <td>
135
                    <label for="checkinfrom">From</label>
135
                    <label for="checkinfrom">From</label>
136
                    <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
136
                    <input type="text" size="10" id="checkinfrom" name="Filter" data-date_to="checkinto" class="flatpickr" />
Lines 138-161 Link Here
138
                    <label for="checkinto">To</label>
138
                    <label for="checkinto">To</label>
139
                    <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
139
                    <input type="text" size="10" id="checkinto" name="Filter" value="" class="flatpickr" />
140
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
140
                    <span class="hint">[% INCLUDE 'date-format.inc' %]</span>
141
				</td>
141
                </td>
142
			</tr>
142
            </tr>
143
			<tr> 
143
            <tr>
144
				<td>&nbsp;</td>
144
                <td>&nbsp;</td>
145
				<td colspan="2">by <select name="ReturnDisplay">
145
                <td colspan="2">by <select name="ReturnDisplay">
146
					<option value=""> </option>
146
                    <option value=""> </option>
147
					<option value ="1">Day</option>
147
                    <option value ="1">Day</option>
148
					<option value ="2">Month</option>
148
                    <option value ="2">Month</option>
149
					<option value ="3">Year</option>
149
                    <option value ="3">Year</option>
150
					</select>
150
                    </select>
151
					
151
152
				</td>
152
                </td>
153
				<td><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td>
153
                <td><input type="hidden" name="Filter" value="" /><input type="hidden" name="Filter" value="" /></td>
154
			</tr>
154
            </tr>
155
			<tr class="hilighted">
155
            <tr class="hilighted">
156
				<td>Patron category</td>
156
                <td>Patron category</td>
157
                <td><input type="radio" checked="checked" name="Line" value="borrowers.categorycode" /></td>
157
                <td><input type="radio" checked="checked" name="Line" value="borrowers.categorycode" /></td>
158
				<td><input type="radio" name="Column" value="borrowers.categorycode" /></td>
158
                <td><input type="radio" name="Column" value="borrowers.categorycode" /></td>
159
                <td>
159
                <td>
160
                    <select name="Filter" id="borcat">
160
                    <select name="Filter" id="borcat">
161
                        <option value=""></option>
161
                        <option value=""></option>
Lines 164-174 Link Here
164
                        [% END %]
164
                        [% END %]
165
                    </select>
165
                    </select>
166
                </td>
166
                </td>
167
			</tr>
167
            </tr>
168
			<tr>
168
            <tr>
169
				<td>Item type</td>
169
                <td>Item type</td>
170
				<td><input type="radio" name="Line" value="itemtype" /></td>
170
                <td><input type="radio" name="Line" value="itemtype" /></td>
171
				<td><input type="radio" name="Column" value="itemtype" /></td>
171
                <td><input type="radio" name="Column" value="itemtype" /></td>
172
                <td>
172
                <td>
173
                    <select name="Filter" id="itemtypes">
173
                    <select name="Filter" id="itemtypes">
174
                        <option value=""></option>
174
                        <option value=""></option>
Lines 177-199 Link Here
177
                        [% END %]
177
                        [% END %]
178
                    </select>
178
                    </select>
179
                </td>
179
                </td>
180
			</tr>
180
            </tr>
181
			<tr class="hilighted">
181
            <tr class="hilighted">
182
				<td>Library</td>
182
                <td>Library</td>
183
				<td><input type="radio" name="Line" value="branchcode" /></td>
183
                <td><input type="radio" name="Line" value="branchcode" /></td>
184
				<td><input type="radio" name="Column" value="branchcode" /></td>
184
                <td><input type="radio" name="Column" value="branchcode" /></td>
185
                <td>
185
                <td>
186
                    <select name="Filter" id="branch">
186
                    <select name="Filter" id="branch">
187
                        <option value=""></option>
187
                        <option value=""></option>
188
                        [% PROCESS options_for_libraries libraries => Branches.all() %]
188
                        [% PROCESS options_for_libraries libraries => Branches.all() %]
189
                    </select>
189
                    </select>
190
                </td>
190
                </td>
191
			</tr>
191
            </tr>
192
			[% IF ( hassort1 ) %]
192
            [% IF ( hassort1 ) %]
193
				<tr class="hilighted"> 
193
                <tr class="hilighted">
194
					<td>Sort1</td>
194
                    <td>Sort1</td>
195
					<td><input type="radio" name="Line" value="borrowers.sort1" /></td>
195
                    <td><input type="radio" name="Line" value="borrowers.sort1" /></td>
196
					<td><input type="radio" name="Column" value="borrowers.sort1" /></td>
196
                    <td><input type="radio" name="Column" value="borrowers.sort1" /></td>
197
                    <td>
197
                    <td>
198
                        <select name="Filter" id="sort1">
198
                        <select name="Filter" id="sort1">
199
                            <option value=""></option>
199
                            <option value=""></option>
Lines 202-214 Link Here
202
                            [%- END %]
202
                            [%- END %]
203
                        </select>
203
                        </select>
204
                    </td>
204
                    </td>
205
				</tr>
205
                </tr>
206
			[% END %]
206
            [% END %]
207
			[% IF ( hassort2 ) %]
207
            [% IF ( hassort2 ) %]
208
				[% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %] 
208
                [% IF ( HglghtSort2 ) %]<tr class="hilighted"> [% ELSE %]<tr>[% END %]
209
					<td>Sort2</td>
209
                    <td>Sort2</td>
210
					<td><input type="radio" name="Line" value="borrowers.sort2" /></td>
210
                    <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
211
					<td><input type="radio" name="Column" value="borrowers.sort2" /></td>
211
                    <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
212
                    <td>
212
                    <td>
213
                        <select name="Filter" id="sort2">
213
                        <select name="Filter" id="sort2">
214
                            <option value=""></option>
214
                            <option value=""></option>
Lines 217-230 Link Here
217
                            [%- END %]
217
                            [%- END %]
218
                        </select>
218
                        </select>
219
                    </td>
219
                    </td>
220
				</tr>
220
                </tr>
221
			[% END %]
221
            [% END %]
222
		</tbody>
222
        </tbody>
223
	</table><br /></fieldset>
223
    </table><br /></fieldset>
224
	
224
225
	
225
226
	<fieldset class="rows">
226
    <fieldset class="rows">
227
	<h3>Output</h3>
227
    <h3>Output</h3>
228
    <ol>
228
    <ol>
229
        <li>
229
        <li>
230
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
230
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 247-261 Link Here
247
            </select>
247
            </select>
248
        </li>
248
        </li>
249
    </ol>
249
    </ol>
250
	</fieldset>
250
    </fieldset>
251
251
252
	<fieldset class="action">
252
    <fieldset class="action">
253
	<input type="hidden" name="Filter" value="" />
253
    <input type="hidden" name="Filter" value="" />
254
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
254
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
255
	<input type="hidden" name="do_it" value="1" />
255
    <input type="hidden" name="do_it" value="1" />
256
	<input type="submit" class="principal" value="Submit" />
256
    <input type="submit" class="principal" value="Submit" />
257
	</fieldset>
257
    </fieldset>
258
	</form>
258
    </form>
259
[% END %]
259
[% END %]
260
260
261
            </main>
261
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt (-27 / +27 lines)
Lines 7-13 Link Here
7
<title>Circulation statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Circulation statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
<style>
9
<style>
10
	.sql {display:none;}
10
    .sql {display:none;}
11
</style>
11
</style>
12
</head>
12
</head>
13
13
Lines 79-90 Link Here
79
                    [% CASE 14 %]<span>Issuing library = [% loopfilte.filter | html %]</span>
79
                    [% CASE 14 %]<span>Issuing library = [% loopfilte.filter | html %]</span>
80
                    [% CASE %]<span>[% loopfilte.crit | html %] = [% loopfilte.filter | html %]</span>
80
                    [% CASE %]<span>[% loopfilte.crit | html %] = [% loopfilte.filter | html %]</span>
81
                [% END %]
81
                [% END %]
82
				</li>
82
                </li>
83
            [% END %]
83
            [% END %]
84
            </ul>
84
            </ul>
85
        [% END %]
85
        [% END %]
86
        
86
87
        <table> 
87
        <table>
88
            <tr>
88
            <tr>
89
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
89
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
90
                [% FOREACH loopco IN mainloo.loopcol %]
90
                [% FOREACH loopco IN mainloo.loopcol %]
Lines 96-104 Link Here
96
                    <tr>
96
                    <tr>
97
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
97
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
98
                    [% FOREACH loopcel IN loopro.loopcell %]
98
                    [% FOREACH loopcel IN loopro.loopcell %]
99
						<td>[% loopcel.value || 0 | html %]</td>
99
                        <td>[% loopcel.value || 0 | html %]</td>
100
                    [% END %]
100
                    [% END %]
101
						<td>[% loopro.totalrow | html %]</td>
101
                        <td>[% loopro.totalrow | html %]</td>
102
                    </tr>
102
                    </tr>
103
                [% END %]
103
                [% END %]
104
            <tr>
104
            <tr>
Lines 114-120 Link Here
114
114
115
    <form method="post" action="/cgi-bin/koha/reports/issues_stats.pl">
115
    <form method="post" action="/cgi-bin/koha/reports/issues_stats.pl">
116
    <fieldset class="rows">
116
    <fieldset class="rows">
117
	<h3>Circulation statistics</h3><table>
117
    <h3>Circulation statistics</h3><table>
118
        <thead>
118
        <thead>
119
            <tr>
119
            <tr>
120
                <th>Title</th>
120
                <th>Title</th>
Lines 189-195 Link Here
189
                 <option value="[% categoryloo.categorycode | html %]">[% categoryloo.description | html %]</option>
189
                 <option value="[% categoryloo.categorycode | html %]">[% categoryloo.description | html %]</option>
190
               [% END %]
190
               [% END %]
191
               </select>
191
               </select>
192
             </td> 
192
             </td>
193
        </tr>
193
        </tr>
194
        <tr>
194
        <tr>
195
            <td>Item type</td>
195
            <td>Item type</td>
Lines 201-207 Link Here
201
                 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
201
                 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
202
               [% END %]
202
               [% END %]
203
               </select>
203
               </select>
204
             </td> 
204
             </td>
205
        </tr>
205
        </tr>
206
        <tr>
206
        <tr>
207
            <td>Issuing library</td>
207
            <td>Issuing library</td>
Lines 211-217 Link Here
211
                <option value=""> </option>
211
                <option value=""> </option>
212
                [% PROCESS options_for_libraries libraries => Branches.all() %]
212
                [% PROCESS options_for_libraries libraries => Branches.all() %]
213
               </select>
213
               </select>
214
             </td> 
214
             </td>
215
        </tr>
215
        </tr>
216
        <tr>
216
        <tr>
217
            <td>Collection</td>
217
            <td>Collection</td>
Lines 235-241 Link Here
235
                    <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
235
                    <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
236
                [% END %]
236
                [% END %]
237
               </select>
237
               </select>
238
            </td> 
238
            </td>
239
        </tr>
239
        </tr>
240
        <tr>
240
        <tr>
241
            <td>Item call number</td>
241
            <td>Item call number</td>
Lines 245-272 Link Here
245
        </tr>
245
        </tr>
246
        [% IF ( hassort1 ) %]
246
        [% IF ( hassort1 ) %]
247
        <tr><td>Patron sort 1</td>
247
        <tr><td>Patron sort 1</td>
248
			<td><input type="radio" name="Line" value="borrowers.sort1" /></td>
248
            <td><input type="radio" name="Line" value="borrowers.sort1" /></td>
249
			<td><input type="radio" name="Column" value="borrowers.sort1" /></td>
249
            <td><input type="radio" name="Column" value="borrowers.sort1" /></td>
250
			<td><select name="Filter" id="sort1">
250
            <td><select name="Filter" id="sort1">
251
               <option value=""> </option>
251
               <option value=""> </option>
252
               [% FOREACH Bsort IN Bsort1 %]
252
               [% FOREACH Bsort IN Bsort1 %]
253
                <option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>
253
                <option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>
254
               [% END %]
254
               [% END %]
255
               </select>
255
               </select>
256
            </td> 
256
            </td>
257
        </tr>
257
        </tr>
258
        [% END %]
258
        [% END %]
259
        [% IF ( hassort2 ) %]
259
        [% IF ( hassort2 ) %]
260
        <tr><td>Patron sort 2</td>
260
        <tr><td>Patron sort 2</td>
261
            <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
261
            <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
262
            <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
262
            <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
263
           	<td><select name="Filter" id="sort2">
263
               <td><select name="Filter" id="sort2">
264
               <option value=""> </option>
264
               <option value=""> </option>
265
               [% FOREACH Bsort IN Bsort2 %]
265
               [% FOREACH Bsort IN Bsort2 %]
266
                   <option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>
266
                   <option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>
267
               [% END %]
267
               [% END %]
268
               </select>
268
               </select>
269
            </td> 
269
            </td>
270
        </tr>
270
        </tr>
271
        [% END %]
271
        [% END %]
272
        <tr><td>Home library</td>
272
        <tr><td>Home library</td>
Lines 358-366 Link Here
358
        </li>
358
        </li>
359
    </ol>
359
    </ol>
360
</fieldset>
360
</fieldset>
361
			
361
362
	<fieldset class="rows">
362
    <fieldset class="rows">
363
	<h3>Output</h3>
363
    <h3>Output</h3>
364
    <ol>
364
    <ol>
365
        <li>
365
        <li>
366
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
366
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 385-398 Link Here
385
            </select>
385
            </select>
386
        </li>
386
        </li>
387
    </ol>
387
    </ol>
388
	</fieldset>
388
    </fieldset>
389
389
390
	<fieldset class="action">
390
    <fieldset class="action">
391
	<input type="submit" class="principal" value="Submit" />
391
    <input type="submit" class="principal" value="Submit" />
392
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
392
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
393
	<input type="hidden" name="do_it" value="1" />
393
    <input type="hidden" name="do_it" value="1" />
394
	</fieldset>
394
    </fieldset>
395
	</form>
395
    </form>
396
[% END %]
396
[% END %]
397
397
398
            </main>
398
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt (-48 / +48 lines)
Lines 7-13 Link Here
7
<title>Holds statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
7
<title>Holds statistics[% IF ( do_it ) %] &rsaquo; Results[% END %] &rsaquo; Reports &rsaquo; Koha</title>
8
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
9
<style>
9
<style>
10
	.sql {display:none;}
10
    .sql {display:none;}
11
</style>
11
</style>
12
</head>
12
</head>
13
13
Lines 56-73 Link Here
56
            <ul>
56
            <ul>
57
            [% FOREACH loopfilte IN loopfilter %]
57
            [% FOREACH loopfilte IN loopfilter %]
58
                [% IF ( loopfilte.err ) %]<li class="error">Error:
58
                [% IF ( loopfilte.err ) %]<li class="error">Error:
59
				[% ELSIF ( loopfilte.sql ) %]<li class="sql">
59
                [% ELSIF ( loopfilte.sql ) %]<li class="sql">
60
				[% ELSE %]<li>
60
                [% ELSE %]<li>
61
				[% END %]
61
                [% END %]
62
					[% loopfilte.crit | html %] [% loopfilte.filter | html %]
62
                    [% loopfilte.crit | html %] [% loopfilte.filter | html %]
63
				</li>
63
                </li>
64
            [% END %]
64
            [% END %]
65
            </ul>
65
            </ul>
66
        [% END %]
66
        [% END %]
67
		
67
68
    [% FOREACH mainloo IN mainloop %]
68
    [% FOREACH mainloo IN mainloop %]
69
        
69
70
        <table> 
70
        <table>
71
            <tr>
71
            <tr>
72
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
72
                <th>[% mainloo.line | html %] / [% mainloo.column | html %]</th>
73
                [% FOREACH loopco IN mainloo.loopcol %]
73
                [% FOREACH loopco IN mainloo.loopcol %]
Lines 79-89 Link Here
79
                    <tr>
79
                    <tr>
80
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
80
                        <td>[% loopro.rowtitle_display or "UNKNOWN VALUE" | html %]</td>
81
                    [% FOREACH loopcel IN loopro.loopcell %]
81
                    [% FOREACH loopcel IN loopro.loopcell %]
82
						<td align="center">
82
                        <td align="center">
83
                        [% 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 %]
83
                        [% 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 %]
84
						</td>
84
                        </td>
85
                    [% END %]
85
                    [% END %]
86
						<td align="center">[% loopro.totalrow | html %]</td>
86
                        <td align="center">[% loopro.totalrow | html %]</td>
87
                    </tr>
87
                    </tr>
88
                [% END %]
88
                [% END %]
89
            <tr>
89
            <tr>
Lines 100-106 Link Here
100
100
101
    <form method="post" action="/cgi-bin/koha/reports/reserves_stats.pl">
101
    <form method="post" action="/cgi-bin/koha/reports/reserves_stats.pl">
102
    <fieldset class="rows">
102
    <fieldset class="rows">
103
	<h3>Holds statistics</h3><table>
103
    <h3>Holds statistics</h3><table>
104
        <thead>
104
        <thead>
105
            <tr>
105
            <tr>
106
                <th>Title</th>
106
                <th>Title</th>
Lines 110-126 Link Here
110
            </tr>
110
            </tr>
111
        </thead>
111
        </thead>
112
        <tbody>
112
        <tbody>
113
        	<tr >
113
            <tr >
114
                <td>Hold status </td>
114
                <td>Hold status </td>
115
                <td><input type="radio" name="Line" value="reservestatus" /></td>
115
                <td><input type="radio" name="Line" value="reservestatus" /></td>
116
                <td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td>
116
                <td><input type="radio" name="Column" value="reservestatus" checked="checked" /></td>
117
                <td>
117
                <td>
118
				<input type="checkbox" name="filter_reservestatus_or_1" value="1" /> Asked
118
                <input type="checkbox" name="filter_reservestatus_or_1" value="1" /> Asked
119
				<input type="checkbox" name="filter_reservestatus_or_2" value="2" /> Processing
119
                <input type="checkbox" name="filter_reservestatus_or_2" value="2" /> Processing
120
				<input type="checkbox" name="filter_reservestatus_or_3" value="3" /> Waiting
120
                <input type="checkbox" name="filter_reservestatus_or_3" value="3" /> Waiting
121
				<input type="checkbox" name="filter_reservestatus_or_4" value="4" /> Satisfied
121
                <input type="checkbox" name="filter_reservestatus_or_4" value="4" /> Satisfied
122
				<input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled
122
                <input type="checkbox" name="filter_reservestatus_or_5" value="5" /> Cancelled
123
				</td>
123
                </td>
124
             </tr>
124
             </tr>
125
             <tr>
125
             <tr>
126
                <td>Hold date</td>
126
                <td>Hold date</td>
Lines 170-176 Link Here
170
                    <input  size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" />
170
                    <input  size="10" id="filter_waitingdate_end" name="filter_waitingdate_end" value="" type="text" class="flatpickr" />
171
                </td>
171
                </td>
172
             </tr>
172
             </tr>
173
			 <tr>
173
             <tr>
174
                <td>Cancellation date</td>
174
                <td>Cancellation date</td>
175
                <td><input type="radio" name="Line" value="cancellationdate" /></td>
175
                <td><input type="radio" name="Line" value="cancellationdate" /></td>
176
                <td><input type="radio" name="Column" value="cancellationdate" /></td>
176
                <td><input type="radio" name="Column" value="cancellationdate" /></td>
Lines 192-198 Link Here
192
                 <option value="[% categoryloo.categorycode | html %]">[% categoryloo.description | html %]</option>
192
                 <option value="[% categoryloo.categorycode | html %]">[% categoryloo.description | html %]</option>
193
               [% END %]
193
               [% END %]
194
               </select>
194
               </select>
195
             </td> 
195
             </td>
196
        </tr>
196
        </tr>
197
        <tr>
197
        <tr>
198
            <td>Item type</td>
198
            <td>Item type</td>
Lines 204-210 Link Here
204
                 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
204
                 <option value="[% itemtype.itemtype | html %]">[% itemtype.translated_description | html %]</option>
205
               [% END %]
205
               [% END %]
206
               </select>
206
               </select>
207
             </td> 
207
             </td>
208
        </tr>
208
        </tr>
209
        <tr>
209
        <tr>
210
            <td>Pickup library</td>
210
            <td>Pickup library</td>
Lines 214-220 Link Here
214
               <option value=""> </option>
214
               <option value=""> </option>
215
                [% PROCESS options_for_libraries libraries => Branches.all() %]
215
                [% PROCESS options_for_libraries libraries => Branches.all() %]
216
               </select>
216
               </select>
217
             </td> 
217
             </td>
218
        </tr>
218
        </tr>
219
        <tr>
219
        <tr>
220
            <td>Holding library</td>
220
            <td>Holding library</td>
Lines 224-230 Link Here
224
               <option value=""> </option>
224
               <option value=""> </option>
225
                [% PROCESS options_for_libraries libraries => Branches.all() %]
225
                [% PROCESS options_for_libraries libraries => Branches.all() %]
226
               </select>
226
               </select>
227
             </td> 
227
             </td>
228
        </tr>
228
        </tr>
229
        <tr>
229
        <tr>
230
            <td>Home library</td>
230
            <td>Home library</td>
Lines 234-240 Link Here
234
                <option value=""> </option>
234
                <option value=""> </option>
235
                [% PROCESS options_for_libraries libraries => Branches.all() %]
235
                [% PROCESS options_for_libraries libraries => Branches.all() %]
236
               </select>
236
               </select>
237
             </td> 
237
             </td>
238
        </tr>
238
        </tr>
239
        <tr>
239
        <tr>
240
            <td>Collection</td>
240
            <td>Collection</td>
Lines 243-249 Link Here
243
            <td><select name="filter_items.ccode" id="ccode">
243
            <td><select name="filter_items.ccode" id="ccode">
244
                <option value=""> </option>
244
                <option value=""> </option>
245
                [% FOREACH ccodeloo IN ccodeloop %]
245
                [% FOREACH ccodeloo IN ccodeloop %]
246
					[% IF ( ccodeloo.selected ) %] <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>[% ELSE %]<option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>[% END %]
246
                    [% IF ( ccodeloo.selected ) %] <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>[% ELSE %]<option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>[% END %]
247
                [% END %]
247
                [% END %]
248
                </select>
248
                </select>
249
            </td>
249
            </td>
Lines 255-264 Link Here
255
            <td><select name="filter_items.location" id="location">
255
            <td><select name="filter_items.location" id="location">
256
                <option value=""> </option>
256
                <option value=""> </option>
257
                [% FOREACH locationloo IN locationloop %]
257
                [% FOREACH locationloo IN locationloop %]
258
					[% IF ( locationloo.selected ) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %]
258
                    [% IF ( locationloo.selected ) %]<option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>[% ELSE %]<option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>[% END %]
259
				[% END %]
259
                [% END %]
260
               </select>
260
               </select>
261
            </td> 
261
            </td>
262
        </tr>
262
        </tr>
263
        <tr>
263
        <tr>
264
            <td>Item call number</td>
264
            <td>Item call number</td>
Lines 268-295 Link Here
268
        </tr>
268
        </tr>
269
        [% IF ( hassort1 ) %]
269
        [% IF ( hassort1 ) %]
270
        <tr><td>Patron sort 1</td>
270
        <tr><td>Patron sort 1</td>
271
			<td><input type="radio" name="Line" value="borrowers.sort1" /></td>
271
            <td><input type="radio" name="Line" value="borrowers.sort1" /></td>
272
			<td><input type="radio" name="Column" value="borrowers.sort1" /></td>
272
            <td><input type="radio" name="Column" value="borrowers.sort1" /></td>
273
			<td><select name="filter_borrowers.sort1" id="sort1">
273
            <td><select name="filter_borrowers.sort1" id="sort1">
274
               <option value=""> </option>
274
               <option value=""> </option>
275
               [% FOREACH Bsort IN Bsort1 %]
275
               [% FOREACH Bsort IN Bsort1 %]
276
			   [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value | html %]" selected="selected">[% Bsort.lib | html %]</option>[% ELSE %]<option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>[% END %]
276
               [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value | html %]" selected="selected">[% Bsort.lib | html %]</option>[% ELSE %]<option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>[% END %]
277
               [% END %]
277
               [% END %]
278
               </select>
278
               </select>
279
            </td> 
279
            </td>
280
        </tr>
280
        </tr>
281
        [% END %]
281
        [% END %]
282
        [% IF ( hassort2 ) %]
282
        [% IF ( hassort2 ) %]
283
        <tr><td>Patron sort 2</td>
283
        <tr><td>Patron sort 2</td>
284
            <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
284
            <td><input type="radio" name="Line" value="borrowers.sort2" /></td>
285
            <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
285
            <td><input type="radio" name="Column" value="borrowers.sort2" /></td>
286
           	<td><select name="filter_borrowers.sort2" id="sort2">
286
               <td><select name="filter_borrowers.sort2" id="sort2">
287
               <option value=""> </option>
287
               <option value=""> </option>
288
               [% FOREACH Bsort IN Bsort2 %]
288
               [% FOREACH Bsort IN Bsort2 %]
289
			   [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value | html %]" selected="selected">[% Bsort.lib | html %]</option>[% ELSE %]<option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>[% END %]
289
               [% IF ( Bsort.selected ) %]<option value="[% Bsort.authorised_value | html %]" selected="selected">[% Bsort.lib | html %]</option>[% ELSE %]<option value="[% Bsort.authorised_value | html %]" >[% Bsort.lib | html %]</option>[% END %]
290
               [% END %]
290
               [% END %]
291
               </select>
291
               </select>
292
            </td> 
292
            </td>
293
        </tr>
293
        </tr>
294
        [% END %]
294
        [% END %]
295
        </tbody>
295
        </tbody>
Lines 297-305 Link Here
297
297
298
<fieldset class="rows"><h3>Cell value </h3><ol><li><label for="cellvalue1">Count holds:</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li>
298
<fieldset class="rows"><h3>Cell value </h3><ol><li><label for="cellvalue1">Count holds:</label> <input type="radio" name="Cellvalue" value="1" id="cellvalue1" checked="checked" /> </li>
299
            <li><label for="cellvalue2">Count unique borrowers:</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">Count unique items:</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">Count unique bibliographic records:</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset>
299
            <li><label for="cellvalue2">Count unique borrowers:</label> <input type="radio" name="Cellvalue" value="2" id="cellvalue2" /> </li><li><label for="cellvalue3">Count unique items:</label> <input type="radio" name="Cellvalue" id="cellvalue3" value="3" /> </li><li><label for="cellvalue4">Count unique bibliographic records:</label> <input type="radio" name="Cellvalue" id="cellvalue4" value="4" /> </li></ol></fieldset>
300
			
300
301
	<fieldset class="rows">
301
    <fieldset class="rows">
302
	<h3>Output</h3>
302
    <h3>Output</h3>
303
    <ol>
303
    <ol>
304
        <li>
304
        <li>
305
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
305
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 324-337 Link Here
324
            </select>
324
            </select>
325
        </li>
325
        </li>
326
    </ol>
326
    </ol>
327
	</fieldset>
327
    </fieldset>
328
328
329
	<fieldset class="action">
329
    <fieldset class="action">
330
	<input type="submit" class="principal" value="Submit" />
330
    <input type="submit" class="principal" value="Submit" />
331
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
331
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
332
	<input type="hidden" name="do_it" value="1" />
332
    <input type="hidden" name="do_it" value="1" />
333
	</fieldset>
333
    </fieldset>
334
	</form>
334
    </form>
335
[% END %]
335
[% END %]
336
336
337
            </main>
337
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt (-49 / +49 lines)
Lines 10-16 Link Here
10
<title>Serials subscriptions stats &rsaquo; Reports &rsaquo; Koha</title>
10
<title>Serials subscriptions stats &rsaquo; Reports &rsaquo; Koha</title>
11
[% INCLUDE 'doc-head-close.inc' %]
11
[% INCLUDE 'doc-head-close.inc' %]
12
<style>
12
<style>
13
	.sql {display: none;}
13
    .sql {display: none;}
14
</style>
14
</style>
15
</head>
15
</head>
16
16
Lines 39-50 Link Here
39
        <div class="col-sm-10 col-sm-push-2">
39
        <div class="col-sm-10 col-sm-push-2">
40
            <main>
40
            <main>
41
41
42
	<h2>Serials subscriptions</h2>
42
    <h2>Serials subscriptions</h2>
43
[% IF ( do_it ) %]
43
[% IF ( do_it ) %]
44
	<table id="resulttable">
44
    <table id="resulttable">
45
		<thead>
45
        <thead>
46
			<tr>
46
            <tr>
47
				<th>Vendor</th>
47
                <th>Vendor</th>
48
                <th class="anti-the">Title</th>
48
                <th class="anti-the">Title</th>
49
                <th>Subscription ID</th>
49
                <th>Subscription ID</th>
50
                <th>Library</th>
50
                <th>Library</th>
Lines 52-67 Link Here
52
                <th>Subscription begin</th>
52
                <th>Subscription begin</th>
53
                <th>Subscription end</th>
53
                <th>Subscription end</th>
54
                <th>Expired? / Closed?</th>
54
                <th>Expired? / Closed?</th>
55
			</tr>
55
            </tr>
56
		</thead>
56
        </thead>
57
		<tbody>
57
        <tbody>
58
				[% FOREACH data IN datas %]
58
                [% FOREACH data IN datas %]
59
                <tr>
59
                <tr>
60
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
60
                    <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% data.aqbooksellerid | uri %]">[% data.name | html %]</a></td>
61
                    <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
61
                    <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% data.subscriptionid | uri %]">[% data.title | html %]</a></td>
62
					<td>[% data.subscriptionid | html %]</td>
62
                    <td>[% data.subscriptionid | html %]</td>
63
                    <td>[% Branches.GetName( data.branchcode ) | html %]</td>
63
                    <td>[% Branches.GetName( data.branchcode ) | html %]</td>
64
					<td>[% data.callnumber | html %]</td>
64
                    <td>[% data.callnumber | html %]</td>
65
                    <td data-order="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</td>
65
                    <td data-order="[% data.startdate | html %]">[% data.startdate | $KohaDates %]</td>
66
                    <td data-order="[% data.enddate | html %]">[% data.enddate | $KohaDates %]</td>
66
                    <td data-order="[% data.enddate | html %]">[% data.enddate | $KohaDates %]</td>
67
                    <td>
67
                    <td>
Lines 72-118 Link Here
72
                        [% END %]
72
                        [% END %]
73
                    </td>
73
                    </td>
74
                </tr>
74
                </tr>
75
				[% END %]
75
                [% END %]
76
			</tr>
76
            </tr>
77
		</tbody>
77
        </tbody>
78
	</table>
78
    </table>
79
79
80
[% ELSE %]
80
[% ELSE %]
81
	<form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
81
    <form method="post" action="/cgi-bin/koha/reports/serials_stats.pl">
82
82
83
	<fieldset class="rows">
83
    <fieldset class="rows">
84
		<ol>
84
        <ol>
85
			<li>
85
            <li>
86
86
87
				<label for="bookseller">
87
                <label for="bookseller">
88
					Vendor:
88
                    Vendor:
89
			    </label>
89
                </label>
90
				<select name="bookseller" id="bookseller">
90
                <select name="bookseller" id="bookseller">
91
                    <option value="">Any vendor</option>
91
                    <option value="">Any vendor</option>
92
    				[% FOREACH bookseller IN booksellers %]
92
                    [% FOREACH bookseller IN booksellers %]
93
						<option value="[% bookseller.aqbooksellerid | html %]">[% bookseller.name | html %]</option>
93
                        <option value="[% bookseller.aqbooksellerid | html %]">[% bookseller.name | html %]</option>
94
					[% END %]
94
                    [% END %]
95
			    </select>
95
                </select>
96
			</li><li>
96
            </li><li>
97
                <label for="branchcode">
97
                <label for="branchcode">
98
					Library:
98
                    Library:
99
		    	</label>
99
                </label>
100
		    	<select name="branchcode"  id="branchcode">
100
                <select name="branchcode"  id="branchcode">
101
				<option value="">Any library</option>
101
                <option value="">Any library</option>
102
                [% PROCESS options_for_libraries libraries => Branches.all() %]
102
                [% PROCESS options_for_libraries libraries => Branches.all() %]
103
		    	</select>
103
                </select>
104
104
105
		    </li>
105
            </li>
106
		    <li>
106
            <li>
107
		    	<label for="expired">Include expired subscriptions: </label>
107
                <label for="expired">Include expired subscriptions: </label>
108
                <input type="checkbox" name="expired" id="expired" />
108
                <input type="checkbox" name="expired" id="expired" />
109
		    </li>
109
            </li>
110
		</ol>
110
        </ol>
111
	</fieldset>
111
    </fieldset>
112
112
113
113
114
	<fieldset class="rows">
114
    <fieldset class="rows">
115
	<h3>Output</h3>
115
    <h3>Output</h3>
116
    <ol>
116
    <ol>
117
        <li>
117
        <li>
118
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
118
            <label for="outputscreen">To screen into the browser: </label><input type="radio" checked="checked" name="output" id="outputscreen" value="screen" />
Lines 137-150 Link Here
137
            </select>
137
            </select>
138
        </li>
138
        </li>
139
    </ol>
139
    </ol>
140
	</fieldset>
140
    </fieldset>
141
141
142
	<fieldset class="action">
142
    <fieldset class="action">
143
	<input type="submit" class="principal" value="Submit" />
143
    <input type="submit" class="principal" value="Submit" />
144
	<input type="hidden" name="report_name" value="[% report_name | html %]" />
144
    <input type="hidden" name="report_name" value="[% report_name | html %]" />
145
	<input type="hidden" name="do_it" value="1" />
145
    <input type="hidden" name="do_it" value="1" />
146
	</fieldset>
146
    </fieldset>
147
	</form>
147
    </form>
148
[% END %]
148
[% END %]
149
149
150
            </main>
150
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (-18 / +18 lines)
Lines 100-112 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
100
    <thead>
100
    <thead>
101
        <tr>
101
        <tr>
102
            <th class="NoSort">&nbsp;</th>
102
            <th class="NoSort">&nbsp;</th>
103
		<th>Status</th>
103
        <th>Status</th>
104
		<th>Term</th>
104
        <th>Term</th>
105
		<th>Weight</th>
105
        <th>Weight</th>
106
            <th class="NoSort noExport">Actions</th>
106
            <th class="NoSort noExport">Actions</th>
107
            [% UNLESS ( filter_approved_pending ) %]<th>Reviewer</th>[% END %]
107
            [% UNLESS ( filter_approved_pending ) %]<th>Reviewer</th>[% END %]
108
        <th>Date</th>
108
        <th>Date</th>
109
	</tr>
109
    </tr>
110
    </thead>
110
    </thead>
111
    <tbody>
111
    <tbody>
112
    [% FOREACH tagloo IN tagloop %]
112
    [% FOREACH tagloo IN tagloop %]
Lines 221-230 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
221
<form method="post" action="/cgi-bin/koha/tags/review.pl">
221
<form method="post" action="/cgi-bin/koha/tags/review.pl">
222
<fieldset class="sidebar">
222
<fieldset class="sidebar">
223
  <h4>Filters</h4>
223
  <h4>Filters</h4>
224
	<ol>
224
    <ol>
225
	    <li><p for="tag">Term:<input type="text" name="tag" id="tag" value="[% filter_tag | html %]" /></p>
225
        <li><p for="tag">Term:<input type="text" name="tag" id="tag" value="[% filter_tag | html %]" /></p>
226
	    </li>
226
        </li>
227
	    <li><p for="approved">Status:
227
        <li><p for="approved">Status:
228
            <select name="approved" id="approved">
228
            <select name="approved" id="approved">
229
            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
229
            [% IF ( filter_approved_all ) %]<option selected="selected" value="all">all</option>
230
            [% ELSE %]<option value="all">all</option>[% END %]
230
            [% ELSE %]<option value="all">all</option>[% END %]
Lines 234-252 tr > td input,td input[type="submit"] { font-size: 85%; padding: 1px; } Link Here
234
            [% ELSE %]<option value="0">pending</option>[% END %]
234
            [% ELSE %]<option value="0">pending</option>[% END %]
235
            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
235
            [% IF ( filter_approved_rej ) %]<option selected="selected" value="-1">rejected</option>
236
            [% ELSE %]<option value="-1">rejected</option>[% END %]
236
            [% ELSE %]<option value="-1">rejected</option>[% END %]
237
			</select></p>
237
            </select></p>
238
	    </li>
238
        </li>
239
	    <li><p for="approver">Reviewer: <input type="text" name="approver" id="approver" value="[% filter_approver | html %]" /></p>
239
        <li><p for="approver">Reviewer: <input type="text" name="approver" id="approver" value="[% filter_approver | html %]" /></p>
240
	    </li>
240
        </li>
241
	    <li>
241
        <li>
242
			<p for="from">Date: from
242
            <p for="from">Date: from
243
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
243
            <input type="text" size="10" id="from" name="from" value="[% filter_date_approved_from | html %]" class="flatpickr" data-date_to="to" />
244
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
244
            <div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
245
245
246
			<p for="to">...to
246
            <p for="to">...to
247
            <input type="text" size="10" id="to" name="to" value="[% filter_date_approved_to | html %]" class="flatpickr" />
247
            <input type="text" size="10" id="to" name="to" value="[% filter_date_approved_to | html %]" class="flatpickr" />
248
			<div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
248
            <div class="hint">[% INCLUDE 'date-format.inc' %]</div></p>
249
	    </li>
249
        </li>
250
  </ol>
250
  </ol>
251
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm principal"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
251
 <fieldset class="action"><button type="submit" class="btn btn-default btn-sm principal"><i class="fa fa-filter" aria-hidden="true"></i> Apply filter(s)</button></fieldset>
252
</fieldset>
252
</fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-47 / +46 lines)
Lines 204-221 Link Here
204
        <div class="col-sm-10 col-sm-push-2">
204
        <div class="col-sm-10 col-sm-push-2">
205
            <main>
205
            <main>
206
206
207
				<h2>Browse system logs</h2>
207
                <h2>Browse system logs</h2>
208
				<form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
208
                <form method="post" action="/cgi-bin/koha/tools/viewlog.pl">
209
					[% IF ( do_it ) %]
209
                    [% IF ( do_it ) %]
210
						<input type="hidden" name="do_it" value="[% do_it | html %]" />
210
                        <input type="hidden" name="do_it" value="[% do_it | html %]" />
211
					[% END %]
211
                    [% END %]
212
                    <input type="hidden" name="src" value="[% src | html %]" />
212
                    <input type="hidden" name="src" value="[% src | html %]" />
213
					<fieldset class="rows">
213
                    <fieldset class="rows">
214
						<ol>
214
                        <ol>
215
							<li>
215
                            <li>
216
								<label for="user">Librarian:</label>
216
                                <label for="user">Librarian:</label>
217
                                <input type="text" name="user" id="user" value="[% user | html %]" />
217
                                <input type="text" name="user" id="user" value="[% user | html %]" />
218
							</li>
218
                            </li>
219
                            [% UNLESS src == "circ" %]
219
                            [% UNLESS src == "circ" %]
220
                                <li>
220
                                <li>
221
                                    <label>Modules:</label>
221
                                    <label>Modules:</label>
Lines 265-274 Link Here
265
                                    <input type="text" id="object" name="object" value="[% object | html %]" />
265
                                    <input type="text" id="object" name="object" value="[% object | html %]" />
266
                                [% END %]
266
                                [% END %]
267
                            </li>
267
                            </li>
268
							<li>
268
                            <li>
269
								<label for="info">Info:</label>
269
                                <label for="info">Info:</label>
270
                                <input type="text" id="info" name="info" value="[% info | html %]" />
270
                                <input type="text" id="info" name="info" value="[% info | html %]" />
271
							</li>
271
                            </li>
272
                            <li>
272
                            <li>
273
                                <label>Interface:</label>
273
                                <label>Interface:</label>
274
                                [% IF interfaces.size == 0 %]
274
                                [% IF interfaces.size == 0 %]
Lines 285-325 Link Here
285
                                    [% END %]
285
                                    [% END %]
286
                                [% END %]
286
                                [% END %]
287
                            </li>
287
                            </li>
288
							<li>
288
                            <li>
289
                                <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="flatpickr" data-date_to="to" />
289
                                <label for="from"> Display from: </label> <input type="text" size="10" id="from" name="from" value="[% datefrom | html %]" class="flatpickr" data-date_to="to" />
290
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
290
                <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
291
							</li>
291
                            </li>
292
							<li>
292
                            <li>
293
                                <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="flatpickr" />
293
                                <label for="to">Display to: </label> <input size="10" id="to" name="to" type="text" value="[% dateto | html %]" class="flatpickr" />
294
				<div class="hint">[% INCLUDE 'date-format.inc' %]</div>
294
                <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
295
							</li>
295
                            </li>
296
						</ol>
296
                        </ol>
297
					</fieldset>
297
                    </fieldset>
298
					<fieldset class="rows">
298
                    <fieldset class="rows">
299
						<h3>Output</h3>
299
                        <h3>Output</h3>
300
						<ol>
300
                        <ol>
301
							<li>
301
                            <li>
302
								<label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
302
                                <label for="screen" >To screen in the browser:</label> <input id="screen" type="radio" checked="checked" name="output" value="screen" />
303
							</li>
303
                            </li>
304
							<li>
304
                            <li>
305
								<label for="file">To a file:</label>
305
                                <label for="file">To a file:</label>
306
								<input id="file" type="radio" name="output" value="file" />
306
                                <input id="file" type="radio" name="output" value="file" />
307
								<label class="inline" for="basename">Named:</label>
307
                                <label class="inline" for="basename">Named:</label>
308
								<input type="text" name="basename" id="basename" value="Export" />
308
                                <input type="text" name="basename" id="basename" value="Export" />
309
								<!--
309
                                <!--
310
									<label for="MIME" class="inline">Into an application:</label>
310
                                    <label for="MIME" class="inline">Into an application:</label>
311
									[% CGIextChoice | html %]
311
                                    [% CGIextChoice | html %]
312
									[% CGIsepChoice | html %]
312
                                    [% CGIsepChoice | html %]
313
								-->
313
                                -->
314
								<input type="hidden" name="report_name" value="[% report_name | html %]" />
314
                                <input type="hidden" name="report_name" value="[% report_name | html %]" />
315
							</li>
315
                            </li>
316
						</ol>
316
                        </ol>
317
					</fieldset>
317
                    </fieldset>
318
					<fieldset class="action">
318
                    <fieldset class="action">
319
						<input type="submit" class="principal" value="Submit" />
319
                        <input type="submit" class="principal" value="Submit" />
320
						<input type="hidden" name="do_it" value="1" />
320
                        <input type="hidden" name="do_it" value="1" />
321
					</fieldset>
321
                    </fieldset>
322
			</form>
322
            </form>
323
                [% IF ( do_it ) %]
323
                [% IF ( do_it ) %]
324
                    [% IF ( total ) %]
324
                    [% IF ( total ) %]
325
                        <h3>Log entries</h3>
325
                        <h3>Log entries</h3>
326
- 

Return to bug 30952